mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
e9d519444d
commit
52b8a1304f
1 changed files with 1 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue