From ebc44fa4943bc032f46a586a7f39f834d37d88fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Weigert?= Date: Tue, 7 Jun 2016 14:21:50 +0200 Subject: [PATCH] Update accountsettings.cpp --- src/gui/accountsettings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index 151f7b876..69028efc3 100644 --- a/src/gui/accountsettings.cpp +++ b/src/gui/accountsettings.cpp @@ -161,11 +161,11 @@ void AccountSettings::slotOpenAccountWizard() { if ( #if QT_VERSION > QT_VERSION_CHECK(5, 0, 0) - qgetenv("QT_QPA_PLATFORMTHEME") == "appmenu-qt5" + qgetenv("QT_QPA_PLATFORMTHEME") == "appmenu-qt5" || // We can't call isSystemTrayAvailable with appmenu-qt5 because it breaks the systemtray // (issue #4693, #4944) #endif - || QSystemTrayIcon::isSystemTrayAvailable()) { + QSystemTrayIcon::isSystemTrayAvailable()) { topLevelWidget()->close(); } #ifdef Q_OS_MAC -- 2.30.2