Skip to content

Commit

Permalink
Merge pull request #6208 from nextcloud/backport/6184/stable-3.10
Browse files Browse the repository at this point in the history
[stable-3.10] Fix crash when clicking on import legacy account dialog 'Skip' button.
  • Loading branch information
Camila authored Nov 7, 2023
2 parents 11d2deb + 51c9434 commit 384b8ab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gui/accountmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 384b8ab

Please sign in to comment.