1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Merge pull request #9822 from Chocobo1/fixCrash

Don't double delete a pointer
This commit is contained in:
Mike Tzou 2018-11-09 00:11:09 +08:00 committed by GitHub
commit 547140ec46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -802,8 +802,6 @@ void MainWindow::cleanup()
m_programUpdateTimer->stop();
#endif
delete m_searchFilterAction;
// remove all child widgets
while (QWidget *w = findChild<QWidget * >())
delete w;