From eed4e2746d5a81975f3cabf440e241a38a4aec7c Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 19 Feb 2020 21:43:37 +0100 Subject: filter: don't search in background on mobile I experienced weird crashes that seemed timing-related when using the filter. Therefore, remove the multi-threading thing. So far no more crashes, but keep a close eye on that. Signed-off-by: Berthold Stoeger --- mobile-widgets/qml/main.qml | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 0b7870b97..ed56f8ec6 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -60,21 +60,11 @@ Kirigami.ApplicationWindow { busy.running = true } - function showBusyAndDisconnectModel() { // this is used by QMLManager when operating the filter - busy.running = true - diveList.diveListModel = null - } - function hideBusy() { busy.running = false showPassiveNotification("", 10) // this hides a notification messssage that's still shown } - function hideBusyAndConnectModel() { // this is used by QMLManager when done filtering - busy.running = false - diveList.diveListModel = diveTripModel - } - function returnTopPage() { for (var i=pageStack.depth; i>1; i--) { pageStack.pop() -- cgit v1.2.3-70-g09d2