diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-10-12 14:25:22 +0200 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2017-10-17 15:32:27 +0200 |
commit | d623eccdefa8f19da76bd853ec16cba108aa37d1 (patch) | |
tree | 4e222c2845567b2f3c83836c1f34085bf20f627f /mobile-widgets/qml/StartPage.qml | |
parent | f7da06c76bfab30fb21224955626ba74095251ba (diff) | |
download | subsurface-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/StartPage.qml')
-rw-r--r-- | mobile-widgets/qml/StartPage.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mobile-widgets/qml/StartPage.qml b/mobile-widgets/qml/StartPage.qml index 0f43d845e..067384e5f 100644 --- a/mobile-widgets/qml/StartPage.qml +++ b/mobile-widgets/qml/StartPage.qml @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 import QtQuick 2.5 import QtQuick.Layouts 1.1 +import QtQuick.Controls 2.0 as Controls import org.kde.kirigami 2.0 as Kirigami import org.subsurfacedivelog.mobile 1.0 @@ -18,7 +19,7 @@ Kirigami.ScrollablePage { Layout.topMargin: 0 property int headingLevel: 3 } - Kirigami.Label { + Controls.Label { id: messageArea Layout.fillWidth: true Layout.margins: Kirigami.Units.gridUnit @@ -26,7 +27,7 @@ Kirigami.ScrollablePage { text: manager.startPageText wrapMode: Text.WordWrap } - Kirigami.Label { + Controls.Label { id: explanationTextBasic visible: !showPin Layout.fillWidth: true @@ -39,7 +40,7 @@ Kirigami.ScrollablePage { "the no cloud buttton above.") wrapMode: Text.WordWrap } - Kirigami.Label { + Controls.Label { id: explanationTextPin visible: showPin Layout.fillWidth: true |