From 52b8a1304fda9e9bfe3b5831256872b84e9d1828 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 26 Dec 2019 09:27:45 +0100 Subject: [PATCH] mobile-widgets: remove envelope of saveCredentials Remove QML saveCredentials since it only calls manager.saveCredentials Signed-off-by: Jan Iversen --- mobile-widgets/qml/CloudCredentials.qml | 6 +----- 1 file changed, 1 insertion(+), 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 {