mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Restore behavior of not allowing override of application icon
It got lost in the change to QIcon.ic
This commit is contained in:
parent
4f9251ac34
commit
8a0df2820c
@ -132,7 +132,7 @@ def init_qt(args):
|
||||
# Ancient broken VNC servers cannot handle icons of size greater than 256
|
||||
# https://www.mobileread.com/forums/showthread.php?t=278447
|
||||
ic = 'lt.png' if is_x11 else 'library.png'
|
||||
app.setWindowIcon(QIcon.ic(ic))
|
||||
app.setWindowIcon(QIcon(I(ic, allow_user_override=False)))
|
||||
return app, opts, args
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user