Another PyQt enum change

This commit is contained in:
Kovid Goyal 2021-11-19 14:43:30 +05:30
parent 6a5126fe36
commit 50c16ef54d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1144,7 +1144,7 @@ class Application(QApplication):
# if not os.path.exists(p): raise ValueError(p)
pcache[v] = p
v = pcache[v]
icon_map[getattr(QStyle, 'SP_'+k)] = v
icon_map[getattr(QStyle.StandardPixmap, 'SP_'+k)] = v
transient_scroller = 0
if ismacos:
from calibre_extensions.cocoa import transient_scroller