1
0
Fork 0

Revert "NaturalEarthLoader: free the thread, oops"

THis doesn't work in all timing conditions, because the thread
can commit suicide.

This reverts commit aeca129034.
This commit is contained in:
James Turner 2021-02-25 09:02:58 +00:00
parent dc3da7a237
commit fadc900a0a

View file

@ -629,7 +629,7 @@ bool runLauncherDialog()
// will happen as normal
http->init();
std::unique_ptr<NaturalEarthDataLoaderThread> naturalEarthLoader{new NaturalEarthDataLoaderThread};
QPointer<NaturalEarthDataLoaderThread> naturalEarthLoader = new NaturalEarthDataLoaderThread;
naturalEarthLoader->start();
// avoid double Apple menu and other weirdness if both Qt and OSG