mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
ce8199cdfd
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>
7 lines
143 B
C
7 lines
143 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef DIVESITEHELPERS_H
|
|
#define DIVESITEHELPERS_H
|
|
|
|
void reverseGeoLookup();
|
|
|
|
#endif // DIVESITEHELPERS_H
|