aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/main.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-19 11:44:20 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-24 15:53:14 -0800
commitb83dcc4b2543d6c33a665c5e3b18c2d088635b52 (patch)
tree22d8582385416d742e24d5a89b1d131692c17f70 /mobile-widgets/qml/main.qml
parent4687de8c8272e43f962679ba4b5d9990c3ce3789 (diff)
downloadsubsurface-b83dcc4b2543d6c33a665c5e3b18c2d088635b52.tar.gz
mobile UI/login: make divelist a proper object in main
Instanciate DiveList like all the other pages. Move DiveList properties set in main to DiveList.qml Signed-off-by: Jan Iversen <jani@apache.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r--mobile-widgets/qml/main.qml16
1 files changed, 6 insertions, 10 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 7e859936c..b20ce4262 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -708,16 +708,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
}
- pageStack.initialPage: DiveList {
- id: diveList
- opacity: 0
- Behavior on opacity {
- NumberAnimation {
- duration: 200
- easing.type: Easing.OutQuad
- }
- }
- }
+ pageStack.initialPage: diveList
property int hackToOpenMap: 0 /* Otherpage */
/* I really want an enum, but those are painful in QML, so let's use numbers
@@ -783,6 +774,11 @@ if you have network connectivity and want to sync your data to cloud storage."),
id: manager
}
+ DiveList {
+ id: diveList
+ visible: false
+ }
+
Settings {
id: settingsWindow
visible: false