mobile-widgets: remove envelope of saveCredentials

Remove QML saveCredentials since it only calls manager.saveCredentials

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-12-26 09:27:45 +01:00 committed by Dirk Hohndel
parent e9d519444d
commit 52b8a1304f

View file

@ -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 {