Restore behavior of not allowing override of application icon

It got lost in the change to QIcon.ic
This commit is contained in:
Kovid Goyal 2022-07-14 07:45:48 +05:30
parent 4f9251ac34
commit 8a0df2820c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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