diff options
Diffstat (limited to 'src/gui/util/qsystemtrayicon_mac.mm')
-rw-r--r-- | src/gui/util/qsystemtrayicon_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/util/qsystemtrayicon_mac.mm b/src/gui/util/qsystemtrayicon_mac.mm index 07e3ea2..bcb3e07 100644 --- a/src/gui/util/qsystemtrayicon_mac.mm +++ b/src/gui/util/qsystemtrayicon_mac.mm @@ -532,7 +532,7 @@ private: [item setState:action->isChecked() ? NSOnState : NSOffState]; [item setToolTip:(NSString*)QCFString::toCFStringRef(action->toolTip())]; const QIcon icon = action->icon(); - if(!icon.isNull()) { + if (!icon.isNull() && action->isIconVisibleInMenu()) { #ifndef QT_MAC_USE_COCOA const short scale = GetMBarHeight(); #else |