diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-08-31 21:59:35 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-10-06 18:37:22 +0200 |
commit | 2f25b390632de1c42567a9338c71060377f4a082 (patch) | |
tree | 613d73e62b8878a85926de7dde01ec418e23e195 /gui/components/Splash.qml | |
parent | 15f2efc9aa77893d5300d198dd3b5c42549018e8 (diff) |
[ui] fonts + bugfixing
Diffstat (limited to 'gui/components/Splash.qml')
-rw-r--r-- | gui/components/Splash.qml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gui/components/Splash.qml b/gui/components/Splash.qml index b494494..6bdd3ab 100644 --- a/gui/components/Splash.qml +++ b/gui/components/Splash.qml @@ -5,6 +5,7 @@ import QtGraphicalEffects 1.0 Page { id: splash property int timeoutInterval: 1600 + property alias errors: splashErrorBox Column { width: parent.width * 0.8 @@ -24,7 +25,13 @@ Page { fillMode: Image.PreserveAspectFit } - Spinner {} + Spinner { + id: splashSpinner + } + + InitErrors { + id: splashErrorBox + } } Timer { @@ -39,10 +46,10 @@ Page { } function loadMainViewWhenReady() { - console.debug("ready?") + if (root.error != "") { + return + } if (ctx && ctx.isReady) { - console.debug("ready?", ctx.isReady) - // FIXME check errors == None loader.source = "MainView.qml" } else { delay(100, loadMainViewWhenReady) |