NaturalEarthLoader: free the thread, oops
Used the wrong smart pointer type, use the regular C++ one now.
This commit is contained in:
parent
641db612aa
commit
aeca129034
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ bool runLauncherDialog()
|
|||
// will happen as normal
|
||||
http->init();
|
||||
|
||||
QPointer<NaturalEarthDataLoaderThread> naturalEarthLoader = new NaturalEarthDataLoaderThread;
|
||||
std::unique_ptr<NaturalEarthDataLoaderThread> naturalEarthLoader{new NaturalEarthDataLoaderThread};
|
||||
naturalEarthLoader->start();
|
||||
|
||||
// avoid double Apple menu and other weirdness if both Qt and OSG
|
||||
|
|
Loading…
Add table
Reference in a new issue