From d623eccdefa8f19da76bd853ec16cba108aa37d1 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Thu, 12 Oct 2017 14:25:22 +0200 Subject: 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 --- mobile-widgets/qml/DownloadedDiveDelegate.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mobile-widgets/qml/DownloadedDiveDelegate.qml') 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 -- cgit v1.2.3-70-g09d2