Fix segfault on close

m_wizard has a parent now.
This commit is contained in:
tobtoht 2020-10-13 15:53:31 +02:00
parent f029820a37
commit 7526714b4a

View file

@ -935,8 +935,6 @@ void MainWindow::closeEvent(QCloseEvent *event) {
m_ctx->tor->stop();
this->saveGeo();
if(m_wizard != nullptr)
m_wizard->close();
QWidget::closeEvent(event);
}