diff --git a/src/gui/owncloudsetupwizard.cpp b/src/gui/owncloudsetupwizard.cpp index d8e2e7be338e..671bfd2565f5 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); }