diff options
author | jan Iversen <jan@casacondor.com> | 2019-12-26 09:27:45 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-26 10:24:55 -0800 |
commit | 52b8a1304fda9e9bfe3b5831256872b84e9d1828 (patch) | |
tree | f77e27d2d4a9134dfaa050d777b809370d64f6d1 /mobile-widgets/qml/CloudCredentials.qml | |
parent | e9d519444dbe6efc7b6080a20d5833e19fb97f02 (diff) | |
download | subsurface-52b8a1304fda9e9bfe3b5831256872b84e9d1828.tar.gz |
mobile-widgets: remove envelope of saveCredentials
Remove QML saveCredentials since it only calls manager.saveCredentials
Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'mobile-widgets/qml/CloudCredentials.qml')
-rw-r--r-- | mobile-widgets/qml/CloudCredentials.qml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index e53f80780..1df66426e 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -14,10 +14,6 @@ Item { property string username: login.text; property string password: password.text; - function saveCredentials() { - manager.saveCloudCredentials(login.text, password.text) - } - ColumnLayout { id: outerLayout width: loginWindow.width - Kirigami.Units.gridUnit // to ensure the full input fields are visible @@ -129,7 +125,7 @@ Item { id: signin_register_normal text: qsTr("Sign-in or Register") onClicked: { - saveCredentials() + manager.saveCloudCredentials(login.text, password.text) } } Controls.Label { |