diff options
author | Michael Schuster <michael@schuster.ms> | 2019-12-01 04:45:19 +0300 |
---|---|---|
committer | Michael Schuster <48932272+misch7@users.noreply.github.com> | 2019-12-09 23:37:21 +0300 |
commit | b4f926ded72798d4861747bf2b2a1634c3810f75 (patch) | |
tree | 60d9a42930690a58490af41abc3132382fe550bf /src/gui/accountsettings.cpp | |
parent | ca7bdf245edcf20ed6ad66f8124b9b4997feb3d5 (diff) |
Remove submodule qtmacgoodies and the MacSettingsDialog class
Reverts back to the SettingsDialog class because of bugs and glitches with
more recent Qt versions (Qt 5.12) and with the macOS Dark Mode.
See upstream: https://github.com/owncloud/client/pull/7492
Signed-off-by: Michael Schuster <michael@schuster.ms>
Diffstat (limited to 'src/gui/accountsettings.cpp')
-rw-r--r-- | src/gui/accountsettings.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index c62f29f86..50ee4e8a6 100644 --- a/src/gui/accountsettings.cpp +++ b/src/gui/accountsettings.cpp @@ -57,10 +57,6 @@ #include "account.h" -#ifdef Q_OS_MAC -#include "settingsdialogmac.h" -#endif - namespace OCC { Q_LOGGING_CATEGORY(lcAccountSettings, "nextcloud.gui.account.settings", QtInfoMsg) @@ -280,16 +276,7 @@ void AccountSettings::slotOpenAccountWizard() if (qgetenv("QT_QPA_PLATFORMTHEME") == "appmenu-qt5" || QSystemTrayIcon::isSystemTrayAvailable()) { topLevelWidget()->close(); } -#ifdef Q_OS_MAC - qCDebug(lcAccountSettings) << parent() << topLevelWidget(); - SettingsDialogMac *sd = qobject_cast<SettingsDialogMac *>(topLevelWidget()); - if (sd) { - sd->showActivityPage(); - } else { - qFatal("nope"); - } -#endif OwncloudSetupWizard::runWizard(qApp, SLOT(slotownCloudWizardDone(int)), nullptr); } |