mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Merge pull request #9822 from Chocobo1/fixCrash
Don't double delete a pointer
This commit is contained in:
commit
547140ec46
1 changed files with 0 additions and 2 deletions
|
@ -802,8 +802,6 @@ void MainWindow::cleanup()
|
||||||
m_programUpdateTimer->stop();
|
m_programUpdateTimer->stop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
delete m_searchFilterAction;
|
|
||||||
|
|
||||||
// remove all child widgets
|
// remove all child widgets
|
||||||
while (QWidget *w = findChild<QWidget * >())
|
while (QWidget *w = findChild<QWidget * >())
|
||||||
delete w;
|
delete w;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue