summaryrefslogtreecommitdiff
path: root/gui/components/Splash.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/components/Splash.qml')
-rw-r--r--gui/components/Splash.qml15
1 files changed, 9 insertions, 6 deletions
diff --git a/gui/components/Splash.qml b/gui/components/Splash.qml
index 6bdd3ab..15acf48 100644
--- a/gui/components/Splash.qml
+++ b/gui/components/Splash.qml
@@ -4,7 +4,8 @@ import QtGraphicalEffects 1.0
Page {
id: splash
- property int timeoutInterval: 1600
+ property int timeoutInterval: 200
+ //property int timeoutInterval: 1600
property alias errors: splashErrorBox
Column {
@@ -40,7 +41,7 @@ Page {
function delay(delayTime, cb) {
splashTimer.interval = delayTime
- splashTimer.repeat = false
+ splashTimer.repeat = true
splashTimer.triggered.connect(cb)
splashTimer.start()
}
@@ -50,9 +51,13 @@ Page {
return
}
if (ctx && ctx.isReady) {
+ splashTimer.stop()
loader.source = "MainView.qml"
} else {
- delay(100, loadMainViewWhenReady)
+ if (!splashTimer.running) {
+ console.debug('delay...')
+ delay(500, loadMainViewWhenReady)
+ }
}
}
@@ -65,7 +70,5 @@ Page {
}
}
- Component.onCompleted: {
-
- }
+ Component.onCompleted: {}
}