Qt: set parent for QThread
This may or may not have caused a leak
This commit is contained in:
@@ -117,6 +117,7 @@ void downloader::start(const std::string& url, bool follow_location, bool show_p
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_thread->setObjectName("Download Thread");
|
m_thread->setObjectName("Download Thread");
|
||||||
|
m_thread->setParent(this);
|
||||||
m_thread->start();
|
m_thread->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user