From 7526714b4a7f46acd41645447289ac7f14d945e1 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Tue, 13 Oct 2020 15:53:31 +0200 Subject: [PATCH] Fix segfault on close m_wizard has a parent now. --- src/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d83426b..b860594 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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); }