[OS X]: respect icon visibility preference in system tray menus
authorRené J.V. Bertin <rjvbertin@gmail.com>
Mon, 6 Oct 2014 16:47:01 +0000 (18:47 +0200)
committerShawn Rutledge <shawn.rutledge@digia.com>
Thu, 9 Oct 2014 05:27:30 +0000 (07:27 +0200)
commiteb55d48d1035d06408ffe73696223464957aa71d
tree300e350e1b484cc0bdf0b576bf11982b634cc80c
parent7d70583589aee971c7adf101edc8bb4b6f0066aa
[OS X]: respect icon visibility preference in system tray menus

Check the `IconVisibleInMenu` switch so that systray menu items only
show an icon if the application/user has configured things that way,
and not otherwise.

Task-number: QTBUG-41348
Change-Id: Ibb7db326fd598ca78cb95c815b5e165de2babeda
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
src/gui/util/qsystemtrayicon_mac.mm