[Pkg-owncloud-commits] [owncloud-client] 467/484: OS X: Attempt to fix account add oddities #4237

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit c4006795cc4b862246200852ffeddba430f6c4dc
Author: Markus Goetz <markus at woboq.com>
Date:   Wed Dec 2 17:59:02 2015 +0100

    OS X: Attempt to fix account add oddities #4237
---
 src/gui/accountsettings.cpp | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp
index abd0670..7e58b81 100644
--- a/src/gui/accountsettings.cpp
+++ b/src/gui/accountsettings.cpp
@@ -48,6 +48,10 @@
 
 #include "account.h"
 
+#ifdef Q_OS_MAC
+#include "settingsdialogmac.h"
+#endif
+
 namespace OCC {
 
 static const char progressBarStyleC[] =
@@ -159,6 +163,16 @@ void AccountSettings::slotOpenAccountWizard()
     if (QSystemTrayIcon::isSystemTrayAvailable()) {
         topLevelWidget()->close();
     }
+#ifdef Q_OS_MAC
+    qDebug() << parent() << topLevelWidget();
+    SettingsDialogMac *sd = qobject_cast<SettingsDialogMac*>(topLevelWidget());
+
+    if (sd) {
+        sd->showActivityPage();
+    } else {
+        qFatal("nope");
+    }
+#endif
     OwncloudSetupWizard::runWizard(qApp, SLOT(slotownCloudWizardDone(int)), 0);
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list