path: root/src/gui/kernel/qstylehints.cpp
diff options
authorShawn Rutledge <>2015-02-04 15:13:25 +0100
committerShawn Rutledge <>2015-02-12 13:24:11 +0000
commit69d46a3e205e3533c8bdcf1a1f4e5ce92604759d (patch)
tree50cd1f1cb7c71015ede7fa8a2d39d044831816ad /src/gui/kernel/qstylehints.cpp
parentf8dd268e505cdd0413d112aaaf8e33989a49349e (diff)
D-Bus tray icons: try to use them with QGenericUnixTheme
Until now, only the Gnome and KDE themes have done this. But the gtk2 theme is not the same as the gnome theme. Further, Ubuntu sets the environment variable QT_QPA_PLATFORMTHEME=appmenu-qt5 if that plugin is installed on the system; and then with a custom build of Qt which cannot load the module (e.g. a static build), it will again fall back to QGenericUnixTheme instead of the gnome theme. In both cases we want to still try to use D-Bus StatusNotifier protocol instead of XEmbed. In general it should always be safe to check whether or not that is possible, before falling back to the XEmbed tray icon implementation. Change-Id: I86d6c6f6ad410ea31770d39166d0a7e3330365a0 Reviewed-by: Rafael Roquetto <>
Diffstat (limited to 'src/gui/kernel/qstylehints.cpp')
0 files changed, 0 insertions, 0 deletions