Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
frameworkintegration.4411
0001-Don-t-add-extra-KDE-SNI-actions-in-our-sys...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Don-t-add-extra-KDE-SNI-actions-in-our-systemtray-qp.patch of Package frameworkintegration.4411
From 6e9c03a79e4702e57cb3164233ac2b71f18626a9 Mon Sep 17 00:00:00 2001 From: David Edmundson <kde@davidedmundson.co.uk> Date: Thu, 12 Nov 2015 19:22:40 +0000 Subject: [PATCH 1/1] Don't add extra KDE SNI actions in our systemtray qpt plugin If any app is written using QSystemTrayIcon they'll have to provide their own quit action in order to work on other platforms. If we add our own entry apps end up with two quit entries. BUG: 354991 REVIEW: 126047 --- src/platformtheme/kdeplatformsystemtrayicon.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platformtheme/kdeplatformsystemtrayicon.cpp b/src/platformtheme/kdeplatformsystemtrayicon.cpp index 7536697d59ed2b2f11aa10180e87d003b5579a16..8f0ce7b9a95ae4b8c2fba302966166adfc5f59f8 100644 --- a/src/platformtheme/kdeplatformsystemtrayicon.cpp +++ b/src/platformtheme/kdeplatformsystemtrayicon.cpp @@ -268,6 +268,7 @@ void KDEPlatformSystemTrayIcon::init() { if (!m_sni) { m_sni = new KStatusNotifierItem(); + m_sni->setStandardActionsEnabled(false); m_sni->setTitle(QApplication::applicationDisplayName()); connect(m_sni, &KStatusNotifierItem::activateRequested, [this](bool active, const QPoint &pos) { Q_UNUSED(active) -- 2.6.2
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