diff options
| author | kali kaneko (leap communications) <kali@leap.se> | 2021-11-24 20:35:09 +0100 | 
|---|---|---|
| committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-24 20:35:23 +0100 | 
| commit | a234a8ef5bf8564221f615d0010a810e501905bb (patch) | |
| tree | 100c2d12d0ac1a9c08ec9c3ce9fcc85bf55294f7 /gui/qml/FailDialog.qml | |
| parent | 4e92b1103dc0ea1eba07f2568afd1c250aee31d1 (diff) | |
[ui] remove old qml folder
Diffstat (limited to 'gui/qml/FailDialog.qml')
| -rw-r--r-- | gui/qml/FailDialog.qml | 27 | 
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() -        } -    } -}  | 
