summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DownloadedDiveDelegate.qml
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-10-12 14:25:22 +0200
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2017-10-17 15:32:27 +0200
commitd623eccdefa8f19da76bd853ec16cba108aa37d1 (patch)
tree4e222c2845567b2f3c83836c1f34085bf20f627f /mobile-widgets/qml/DownloadedDiveDelegate.qml
parentf7da06c76bfab30fb21224955626ba74095251ba (diff)
downloadsubsurface-d623eccdefa8f19da76bd853ec16cba108aa37d1.tar.gz
mobile: silence deprecated messages in logging about Kirigami.Label
Commit 8f6827ab122 brought a new SHA for Kirigami, but that introduces a very noisy logging of "Kirigami.Label is deprecated. Use QtQuickControls2.Label instead". So, thats what done here. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets/qml/DownloadedDiveDelegate.qml')
-rw-r--r--mobile-widgets/qml/DownloadedDiveDelegate.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DownloadedDiveDelegate.qml b/mobile-widgets/qml/DownloadedDiveDelegate.qml
index 99ec100a8..be9e2aaf5 100644
--- a/mobile-widgets/qml/DownloadedDiveDelegate.qml
+++ b/mobile-widgets/qml/DownloadedDiveDelegate.qml
@@ -1,5 +1,5 @@
import QtQuick 2.6
-import QtQuick.Controls 2.0
+import QtQuick.Controls 2.0 as Controls
import QtQuick.Window 2.2
import QtQuick.Dialogs 1.2
import QtQuick.Layouts 1.3
@@ -45,14 +45,14 @@ Kirigami.AbstractListItem {
importModel.selectRow(index)
}
}
- Kirigami.Label {
+ Controls.Label {
id: dateLabel
text: innerListItem.datetime
width: Math.round(parent.width * 0.35)
font.pointSize: subsurfaceTheme.smallPointSize
color: textColor
}
- Kirigami.Label {
+ Controls.Label {
text: innerListItem.depth + ' / ' + innerListItem.duration
width: Math.round(parent.width * 0.35)
font.pointSize: subsurfaceTheme.smallPointSize