Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schuster <michael@schuster.ms>2019-12-21 04:33:53 +0300
committerMichael Schuster <48932272+misch7@users.noreply.github.com>2019-12-24 09:46:57 +0300
commitbe10d5200fdefc611de60a15a96d383987331df0 (patch)
tree96519be79b1be3a5c11611fe1b8bddfdffa26df8 /src/gui/wizard
parente8348612b496fcd0903cda57433889bbe8ad9f16 (diff)
Flow2: Use ownCloudGui::raiseDialog to bring account setup wizard to top (raise) on auth result
Signed-off-by: Michael Schuster <michael@schuster.ms>
Diffstat (limited to 'src/gui/wizard')
-rw-r--r--src/gui/wizard/owncloudwizard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/wizard/owncloudwizard.cpp b/src/gui/wizard/owncloudwizard.cpp
index d4740acbf..ad38ba013 100644
--- a/src/gui/wizard/owncloudwizard.cpp
+++ b/src/gui/wizard/owncloudwizard.cpp
@@ -16,6 +16,7 @@
#include "account.h"
#include "configfile.h"
#include "theme.h"
+#include "owncloudgui.h"
#include "wizard/owncloudwizard.h"
#include "wizard/owncloudsetuppage.h"
@@ -317,8 +318,7 @@ void OwncloudWizard::customizeStyle()
void OwncloudWizard::bringToTop()
{
// bring wizard to top
- show();
- raise();
+ ownCloudGui::raiseDialog(this);
}
} // end namespace