mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: silence deprecated messages in logging about Kirigami.Label
Commit 8f6827ab12
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>
This commit is contained in:
parent
f7da06c76b
commit
d623eccdef
10 changed files with 142 additions and 139 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue