File fix-systray-menu-pos.patch of Package owncloud-client

diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp
index c8d5cddcd..6e3f6871a 100644
--- a/src/gui/owncloudgui.cpp
+++ b/src/gui/owncloudgui.cpp
@@ -530,7 +530,8 @@ void ownCloudGui::setupContextMenu()
         || desktopSession.contains("plasma")
         || desktopSession.contains("kde");
     QObject *platformMenu = reinterpret_cast<QObject *>(_tray->contextMenu()->platformMenu());
-    if (isKde && platformMenu && platformMenu->metaObject()->className() == QLatin1String("QDBusPlatformMenu")) {
+    const QString className = platformMenu->metaObject()->className();
+    if (isKde && platformMenu &&  className == QLatin1String("SystemTrayMenu") ) { // QLatin1String("QDBusPlatformMenu")) {
         _workaroundManualVisibility = true;
         _workaroundNoAboutToShowUpdate = true;
     }
openSUSE Build Service is sponsored by