[Pkg-owncloud-commits] [owncloud-client] 14/27: Systray: Workaround for issue with Qt 5.5.0 #3656

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Aug 28 09:43:44 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 3414b58b99aadc091d760cf268b99d739137f032
Author: Christian Kamm <mail at ckamm.de>
Date:   Fri Aug 21 09:41:24 2015 +0200

    Systray: Workaround for issue with Qt 5.5.0 #3656
---
 src/gui/owncloudgui.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp
index 4579563..a66b66a 100644
--- a/src/gui/owncloudgui.cpp
+++ b/src/gui/owncloudgui.cpp
@@ -431,6 +431,14 @@ void ownCloudGui::setupContextMenu()
         _contextMenu->addAction(_actionLogin);
     }
     _contextMenu->addAction(_actionQuit);
+
+    // Workaround for #3656, Qt 5.5.0 + dbus based tray integration.
+#ifdef Q_OS_LINUX
+#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
+    _tray->hide();
+    _tray->show();
+#endif
+#endif
 }
 
 

-- 
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