mirror of https://github.com/qt/qtbase.git
macOS: Show icons in menus on macOS 26 and above
As this is the new system behavior. Pick-to: 6.8 6.5 Change-Id: Ie33bc70a627133459e26411f4492ea0fe1f07ca4 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit08a17345db
) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commitd1641d016e
) Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
02af14ec14
commit
0b96e51148
|
@ -465,7 +465,7 @@ QVariant QCocoaTheme::themeHint(ThemeHint hint) const
|
|||
case QPlatformTheme::KeyboardAutoRepeatRate:
|
||||
return 1.0 / NSEvent.keyRepeatInterval;
|
||||
case QPlatformTheme::ShowIconsInMenus:
|
||||
return false;
|
||||
return QOperatingSystemVersion::current() >= QOperatingSystemVersion::MacOSTahoe;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue