From ce8199cdfdef97437ad85178c7104f307baf018b Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 11 Oct 2018 18:44:05 +0200 Subject: Cleanup: remove ReverseGeoLookupThread Fetching the taxonomy from GPS coordinates was implemented in a QThread. But the only access to the main function was a direct call to run(). Thus, the thread was *never* started. The function call was always asynchronous [it was using an event loop though, so the UI doesn't hang]. Notably this means that the signals connected to the thread would never fire. And the spinner would never be activated. Thus: 1) Turn the thread into a simple function. 2) Remove the spinner. Signed-off-by: Berthold Stoeger --- desktop-widgets/tab-widgets/maintab.ui | 9 --------- 1 file changed, 9 deletions(-) (limited to 'desktop-widgets/tab-widgets/maintab.ui') diff --git a/desktop-widgets/tab-widgets/maintab.ui b/desktop-widgets/tab-widgets/maintab.ui index 7a1be9aed..34ce65186 100644 --- a/desktop-widgets/tab-widgets/maintab.ui +++ b/desktop-widgets/tab-widgets/maintab.ui @@ -230,9 +230,6 @@ - - - @@ -599,12 +596,6 @@ QPlainTextEdit
desktop-widgets/tagwidget.h
- - QtWaitingSpinner - QWidget -
desktop-widgets/qtwaitingspinner.h
- 1 -
DiveLocationLineEdit QLineEdit -- cgit v1.2.3-70-g09d2