From 0b58b47ba09d2e578699ff2cbb6f58d815337898 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Mon, 4 Nov 2024 21:11:40 +0100 Subject: [PATCH] Call for done() when skipping folder configuration. Signed-off-by: Camila Ayres --- src/gui/owncloudsetupwizard.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gui/owncloudsetupwizard.cpp b/src/gui/owncloudsetupwizard.cpp index d8e2e7be338ec..671bfd2565f58 100644 --- a/src/gui/owncloudsetupwizard.cpp +++ b/src/gui/owncloudsetupwizard.cpp @@ -699,7 +699,7 @@ void OwncloudSetupWizard::slotAssistantFinished(int result) } // notify others. - _ocWizard->done(QWizard::Accepted); + _ocWizard->done(result); emit ownCloudWizardDone(result); } @@ -709,7 +709,10 @@ void OwncloudSetupWizard::slotSkipFolderConfiguration() disconnect(_ocWizard, &OwncloudWizard::basicSetupFinished, this, &OwncloudSetupWizard::slotAssistantFinished); - _ocWizard->close(); + + _ocWizard->done(QDialog::Rejected); + + // Accept to check connectivity, only skip folder setup emit ownCloudWizardDone(QDialog::Accepted); }