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:
parent
dc3da7a237
commit
fadc900a0a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue