Changeset 96470f7e9e59…
Parent 48b039111490…
by
Changes to one file · Browse files at 96470f7e9e59 Showing diff from parent 48b039111490 Diff from another changeset...
@@ -299,10 +299,12 @@ or QIcon(':/icons/fallback.svg'))
return _iconcache[name]
-def getmenuicon(name):
- if sys.platform == 'darwin':
+if sys.platform == 'darwin':
+ # On Mac OS X, we do not want icons on menus
+ def getmenuicon(name):
return QIcon()
- return geticon(name)
+else:
+ getmenuicon = geticon
_pixmapcache = {}
|
Loading...