Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:ARM:Staging
owncloud-client
fix-systray-menu-pos.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-systray-menu-pos.patch of Package owncloud-client
diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp index a56dc44..c586118 100644 --- a/src/gui/owncloudgui.cpp +++ b/src/gui/owncloudgui.cpp @@ -509,9 +509,12 @@ 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")) { - _workaroundManualVisibility = true; - _workaroundNoAboutToShowUpdate = true; + if (platformMenu) { + const QString className = platformMenu->metaObject()->className(); + if (isKde && className == QLatin1String("SystemTrayMenu") ) { // QLatin1String("QDBusPlatformMenu")) { + _workaroundManualVisibility = true; + _workaroundNoAboutToShowUpdate = true; + } } #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor