Browse Source

Merge pull request #9822 from Chocobo1/fixCrash

Don't double delete a pointer
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
547140ec46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/gui/mainwindow.cpp

2
src/gui/mainwindow.cpp

@ -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…
Cancel
Save