summaryrefslogtreecommitdiff
path: root/gui/qml/LoginDialog.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/qml/LoginDialog.qml')
-rw-r--r--gui/qml/LoginDialog.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/qml/LoginDialog.qml b/gui/qml/LoginDialog.qml
index 44a1d79..8e28d59 100644
--- a/gui/qml/LoginDialog.qml
+++ b/gui/qml/LoginDialog.qml
@@ -3,8 +3,8 @@ import QtQuick.Dialogs 1.2
import QtQuick.Controls 1.4
Dialog {
- standardButtons: StandardButton.Ok
title: qsTr("Login")
+ standardButtons: Dialog.Ok
Column {
anchors.fill: parent
@@ -27,7 +27,6 @@ Dialog {
}
}
- visible: false
onAccepted: backend.login(username.text, password.text)
onRejected: backend.quit()