Skip to content

Commit

Permalink
Qt: set parent for QThread
Browse files Browse the repository at this point in the history
This may or may not have caused a leak
  • Loading branch information
Megamouse authored and Nekotekina committed Feb 28, 2021
1 parent a4d4ab1 commit 7cb32a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpcs3/rpcs3qt/downloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ void downloader::start(const std::string& url, bool follow_location, bool show_p
}

m_thread->setObjectName("Download Thread");
m_thread->setParent(this);
m_thread->start();
}

Expand Down

0 comments on commit 7cb32a3

Please sign in to comment.