summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/CloudCredentials.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/CloudCredentials.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/CloudCredentials.qml')
-rw-r--r--mobile-widgets/qml/CloudCredentials.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml
index bbf33a633..19ae9e2fc 100644
--- a/mobile-widgets/qml/CloudCredentials.qml
+++ b/mobile-widgets/qml/CloudCredentials.qml
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.3
-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
@@ -51,14 +51,14 @@ Item {
Layout.bottomMargin: Kirigami.Units.largeSpacing / 2
}
- Kirigami.Label {
+ Controls.Label {
text: qsTr("Email")
visible: !rootItem.showPin
font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.secondaryTextColor
}
- TextField {
+ Controls.TextField {
id: login
text: manager.cloudUserName
visible: !rootItem.showPin
@@ -67,14 +67,14 @@ Item {
Qt.ImhNoAutoUppercase
}
- Kirigami.Label {
+ Controls.Label {
text: qsTr("Password")
visible: !rootItem.showPin
font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.secondaryTextColor
}
- TextField {
+ Controls.TextField {
id: password
text: manager.cloudPassword
visible: !rootItem.showPin
@@ -85,11 +85,11 @@ Item {
Layout.fillWidth: true
}
- Kirigami.Label {
+ Controls.Label {
text: qsTr("PIN")
visible: rootItem.showPin
}
- TextField {
+ Controls.TextField {
id: pin
text: ""
Layout.fillWidth: true
@@ -109,7 +109,7 @@ Item {
saveCredentials()
}
}
- Kirigami.Label {
+ Controls.Label {
text: "" // Spacer between 2 button groups
Layout.fillWidth: true
}
@@ -137,7 +137,7 @@ Item {
saveCredentials()
}
}
- Kirigami.Label {
+ Controls.Label {
text: "" // Spacer between 2 button groups
Layout.fillWidth: true
}