diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-06-18 17:53:08 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-20 09:34:27 +0900 |
commit | e6835d76cc56991619ca65af9f4187ffa6806aa9 (patch) | |
tree | 2a23b54fb5c1226dc7d32b053a509c21fb0bf1dd /mobile-widgets/qml | |
parent | e0f7a2ca374afa99a06863fb9082f94e613ea3ba (diff) | |
download | subsurface-e6835d76cc56991619ca65af9f4187ffa6806aa9.tar.gz |
QML UIL: fix more problems with members moving from manager to prefs
That change clearly would have benefited from better code review.
This is a superset of a change proposed by Jan Iversen.
Closes #1406
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/CloudCredentials.qml | 2 | ||||
-rw-r--r-- | mobile-widgets/qml/Settings.qml | 2 | ||||
-rw-r--r-- | mobile-widgets/qml/StartPage.qml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index 2ddd5a3d1..dd03c4d69 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -117,7 +117,7 @@ Item { id: cancelpin text: qsTr("Cancel") onClicked: { - manager.cancelCredentialsPinSetup() + prefs.cancelCredentialsPinSetup() rootItem.returnTopPage() } } diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index 97909a3f5..cb268f423 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -52,7 +52,7 @@ Kirigami.ScrollablePage { Layout.alignment: Qt.AlignRight text: qsTr("Change") onClicked: { - manager.cancelCredentialsPinSetup() + prefs.cancelCredentialsPinSetup() rootItem.returnTopPage() } } diff --git a/mobile-widgets/qml/StartPage.qml b/mobile-widgets/qml/StartPage.qml index 102c2ccb7..0ce0c38ef 100644 --- a/mobile-widgets/qml/StartPage.qml +++ b/mobile-widgets/qml/StartPage.qml @@ -52,7 +52,7 @@ Kirigami.ScrollablePage { "If you do not receive an email from us within 15 minutes, please check " + "the correct spelling of your email address and your spam box first.<br/><br/>" + "In case of any problems regarding cloud account setup, please contact us " + - "at our user forum \(https://subsurface-divelog.org/user-forum/\).<br/><br/>").arg(manager.cloudUserName) + "at our user forum \(https://subsurface-divelog.org/user-forum/\).<br/><br/>").arg(prefs.cloudUserName) wrapMode: Text.WordWrap } Item { width: Kirigami.Units.gridUnit; height: 3 * Kirigami.Units.gridUnit} |