Flow2: Use ownCloudGui::raiseDialog to bring account setup wizard to top (raise)...
authorMichael Schuster <michael@schuster.ms>
Sat, 21 Dec 2019 01:33:53 +0000 (02:33 +0100)
committerMichael Schuster <48932272+misch7@users.noreply.github.com>
Tue, 24 Dec 2019 06:46:57 +0000 (07:46 +0100)
Signed-off-by: Michael Schuster <michael@schuster.ms>
src/gui/wizard/owncloudwizard.cpp

index d4740acbfe82e567bcd86c3274cd7ce94215327f..ad38ba013dabea07a7bfaef4831b29bbcf68d5ed 100644 (file)
@@ -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