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 username: login.text;
property string password: password.text; property string password: password.text;
function saveCredentials() {
manager.saveCloudCredentials(login.text, password.text)
}
ColumnLayout { ColumnLayout {
id: outerLayout id: outerLayout
width: loginWindow.width - Kirigami.Units.gridUnit // to ensure the full input fields are visible width: loginWindow.width - Kirigami.Units.gridUnit // to ensure the full input fields are visible
@ -129,7 +125,7 @@ Item {
id: signin_register_normal id: signin_register_normal
text: qsTr("Sign-in or Register") text: qsTr("Sign-in or Register")
onClicked: { onClicked: {
saveCredentials() manager.saveCloudCredentials(login.text, password.text)
} }
} }
Controls.Label { Controls.Label {