1
0
Fork 0

NaturalEarthLoader: free the thread, oops

Used the wrong smart pointer type, use the regular C++ one now.
This commit is contained in:
James Turner 2021-02-21 12:58:00 +00:00
parent 641db612aa
commit aeca129034

View file

@ -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