diff --git a/src/gui/accountmanager.cpp b/src/gui/accountmanager.cpp index 91dfb33dab5ff..265f0fa6695bb 100644 --- a/src/gui/accountmanager.cpp +++ b/src/gui/accountmanager.cpp @@ -199,7 +199,6 @@ bool AccountManager::restoreFromLegacySettings() const auto importMessageBox = new QMessageBox(QMessageBox::Question, tr("Legacy import"), importQuestion); importMessageBox->addButton(tr("Import"), QMessageBox::AcceptRole); const auto skipButton = importMessageBox->addButton(tr("Skip"), QMessageBox::DestructiveRole); - importMessageBox->setAttribute(Qt::WA_DeleteOnClose); importMessageBox->exec(); if (importMessageBox->clickedButton() == skipButton) { return false;