summaryrefslogtreecommitdiff
path: root/gui/qml/FailDialog.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/qml/FailDialog.qml')
-rw-r--r--gui/qml/FailDialog.qml27
1 files changed, 0 insertions, 27 deletions
diff --git a/gui/qml/FailDialog.qml b/gui/qml/FailDialog.qml
deleted file mode 100644
index 401fa25..0000000
--- a/gui/qml/FailDialog.qml
+++ /dev/null
@@ -1,27 +0,0 @@
-import QtQuick 2.0
-import QtQuick.Dialogs 1.2
-
-MessageDialog {
- title: qsTr("Initialization Error")
- modality: Qt.NonModal
- text: ""
- onAccepted: retryOrQuit()
- onRejected: retryOrQuit()
-
- Component.onCompleted: {
- buttons: MessageDialog.Ok
- }
-
- function retryOrQuit() {
- if (ctx.loginDialog == 'true') {
- login.visible = true
- } else {
-
- // FIXME - we probably want to distinguish
- // fatal from recoverable errors. For the time being
- // we can avoid quitting so that people can try reconnects if it's
- // a network problem, it's confusing to quit the app.
- // backend.quit()
- }
- }
-}