mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-06 15:04:34 +08:00
Don't double delete a pointer
`m_searchFilterAction` is owned by Qt, so we shouldn't delete it manually.
This commit is contained in:
parent
a57a026f4c
commit
626b9eb380
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user