summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/main.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-20 12:04:00 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-23 22:45:30 +0100
commitcf3fcc53b61b1545cf18beff267f7157f9dcd10f (patch)
tree7555a50e2bf1bc6d83668bbacda2236465fb36c7 /mobile-widgets/qml/main.qml
parent84822ebd2ff6eed032f3fd0822ba922811f1133e (diff)
downloadsubsurface-cf3fcc53b61b1545cf18beff267f7157f9dcd10f.tar.gz
Mobile/filtering: implement the filter update through a thread
It's important to disconnect the model from the ListView, otherwise the update in a different thread will fail. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r--mobile-widgets/qml/main.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index bf0830f46..d2988f115 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -64,10 +64,12 @@ Kirigami.ApplicationWindow {
function showBusy() {
busy.running = true
+ diveList.diveListModel = null
}
function hideBusy() {
busy.running = false
+ diveList.diveListModel = diveModel
}
function returnTopPage() {