Changeset c46ad970cba2…
Parent 0e1beb661a93…
by
Changes to one file · Browse files at c46ad970cba2 Showing diff from parent 0e1beb661a93 Diff from another changeset...
@@ -272,7 +272,8 @@ for size, subdir, sfx in _SCALABLE_ICON_PATHS:
path = ':/icons/%s/%s%s' % (subdir, name, sfx)
if QFile.exists(path):
- o.addFile(path, size)
+ for mode in (QIcon.Normal, QIcon.Active):
+ o.addFile(path, size, mode)
if not o.isNull():
return o
|
Loading...