mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +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 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 {
|
||||||
|
|
Loading…
Reference in a new issue