mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-17 07:50:13 +00:00
Qt: set parent for QThread
This may or may not have caused a leak
This commit is contained in:
parent
a4d4ab1df9
commit
7cb32a3680
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue