Fix segfault on close

m_wizard has a parent now.
master
tobtoht 4 years ago
parent f029820a37
commit 7526714b4a

@ -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);
}

Loading…
Cancel
Save