diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-02-16 15:46:55 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2015-02-20 12:52:43 +0000 |
commit | 9bf8b2a412b77fa01e88c3f9ad9a9e7792cd4ac5 (patch) | |
tree | a26101c4197ffd8be3c4a7d789cf090e14717249 /src/plugins/platforms/xcb/qxcbconnection.h | |
parent | bc20d794cfddcc34d44a42217aabda1302972cf0 (diff) |
Do not attempt to unregister an unregistered dbus service
If a QSystemTrayIcon is created but never shown, it will trigger a
warning on exit when it fails to unregister.
This patch ensures we only try to unregister if the service was
registered in the first place.
Change-Id: I0e245d19be55c58aea180dbcbe5215e738d05280
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.h')
0 files changed, 0 insertions, 0 deletions