mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: enable legacy mode when not build with libdbusmenu-qt support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9272567f30
commit
9baa39f370
1 changed files with 2 additions and 0 deletions
|
@ -421,6 +421,8 @@ void KStatusNotifierItem::setContextMenu(KMenu *menu)
|
|||
} else if (d->menu != menu) {
|
||||
#ifdef HAVE_DBUSMENUQT
|
||||
if (getenv("KSNI_NO_DBUSMENU")) {
|
||||
#else
|
||||
d->setLegacySystemTrayEnabled(true);
|
||||
#endif
|
||||
// This is a hack to make it possible to disable DBusMenu in an
|
||||
// application. The string "/NO_DBUSMENU" must be the same as in
|
||||
|
|
Loading…
Add table
Reference in a new issue