diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-11 18:44:05 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-11 16:25:02 -0700 |
commit | ce8199cdfdef97437ad85178c7104f307baf018b (patch) | |
tree | 4979946f2e5128e8508b9359dbdc62dce0bc1864 /desktop-widgets/tab-widgets/maintab.ui | |
parent | 76e5c5ac671fdeb29cf667d478a27757054d67cb (diff) | |
download | subsurface-ce8199cdfdef97437ad85178c7104f307baf018b.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.ui')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.ui | 9 |
1 files changed, 0 insertions, 9 deletions
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 @@ </property> </widget> </item> - <item> - <widget class="QtWaitingSpinner" name="waitingSpinner" native="true"/> - </item> </layout> </item> <item> @@ -600,12 +597,6 @@ <header>desktop-widgets/tagwidget.h</header> </customwidget> <customwidget> - <class>QtWaitingSpinner</class> - <extends>QWidget</extends> - <header>desktop-widgets/qtwaitingspinner.h</header> - <container>1</container> - </customwidget> - <customwidget> <class>DiveLocationLineEdit</class> <extends>QLineEdit</extends> <header>desktop-widgets/locationinformation.h</header> |