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/GpsList.qml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'mobile-widgets/qml/GpsList.qml') diff --git a/mobile-widgets/qml/GpsList.qml b/mobile-widgets/qml/GpsList.qml index 5829c5614..53249990d 100644 --- a/mobile-widgets/qml/GpsList.qml +++ b/mobile-widgets/qml/GpsList.qml @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 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.1 @@ -23,48 +23,48 @@ Kirigami.ScrollablePage { columns: 4 id: timeAndName width: parent.width - Kirigami.Label { + Controls.Label { text: qsTr('Date: ') color: subsurfaceTheme.textColor opacity: 0.6 font.pointSize: subsurfaceTheme.smallPointSize } - Kirigami.Label { + Controls.Label { text: date color: subsurfaceTheme.textColor Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth) font.pointSize: subsurfaceTheme.smallPointSize } - Kirigami.Label { + Controls.Label { text: qsTr('Name: ') color: subsurfaceTheme.textColor opacity: 0.6 font.pointSize: subsurfaceTheme.smallPointSize } - Kirigami.Label { + Controls.Label { text: name color: subsurfaceTheme.textColor Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth) font.pointSize: subsurfaceTheme.smallPointSize } - Kirigami.Label { + Controls.Label { text: qsTr('Latitude: ') color: subsurfaceTheme.textColor opacity: 0.6 font.pointSize: subsurfaceTheme.smallPointSize } - Kirigami.Label { + Controls.Label { text: latitude color: subsurfaceTheme.textColor font.pointSize: subsurfaceTheme.smallPointSize } - Kirigami.Label { + Controls.Label { text: qsTr('Longitude: ') color: subsurfaceTheme.textColor opacity: 0.6 font.pointSize: subsurfaceTheme.smallPointSize } - Kirigami.Label { + Controls.Label { text: longitude color: subsurfaceTheme.textColor font.pointSize: subsurfaceTheme.smallPointSize -- cgit v1.2.3-70-g09d2