path: root/src/corelib/itemmodels
diff options
authorMartin Gräßlin <>2014-02-19 11:01:44 +0100
committerThe Qt Project <>2014-02-25 14:33:00 +0100
commitf1ee10f81ac18789e9a7dc715b464415ba2bc2b8 (patch)
treed0e96cd96f204b0fc265e41688672df4eccb04bd /src/corelib/itemmodels
parentde1d5d2e39039a24e7740e68af65c8b9ff5d79ba (diff)
Prefer QPA implementation in qsystemtrayicon_x11 if available
In order to have the possibility to provide a custom QSystemTrayIcon implementation in the platform theme instead of the X11 xembed based one, the qpa implementation needs to be called. This was not possible as qpa and x11 implementation were compile time mutual exclusive. This change moves the qpa implementation in the shared part and the methods in qsystemtrayicon_qpa just delegate to them. In addition the _x11 part tries to create a QPlatformSystemTrayIcon through the platform theme and if that succeeds the implementation prefers the qpa variant and delegates to the same methods. Change-Id: I6b33acac63524a77ebdce39af6eb74666f8c7561 Reviewed-by: Kevin Krammer <> Reviewed-by: Friedemann Kleint <> Reviewed-by: Paul Olav Tvete <>
Diffstat (limited to 'src/corelib/itemmodels')
0 files changed, 0 insertions, 0 deletions