mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-09 20:01:08 +00: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…
x
Reference in New Issue
Block a user