From f6ae8bf3ea6fee354bd4298fd0ebadd91fb0d36e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 30 Nov 2015 10:15:04 -0800 Subject: QML UI: don't load dives before the UI has been instantiated This should deal with a big part of the delay when starting the app. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/main.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qt-mobile/qml') diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index 1888a77e8..46123ddb3 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -105,7 +105,7 @@ MobileComponents.ApplicationWindow { stackView.push(themetest) } } - ] + ] MouseArea { height: childrenRect.height width: MobileComponents.Units.gridUnit * 10 @@ -272,5 +272,6 @@ MobileComponents.ApplicationWindow { Component.onCompleted: { print("MobileComponents.Units.gridUnit is: " + MobileComponents.Units.gridUnit); + manager.loadDives(); } } -- cgit v1.2.3-70-g09d2