Windows: Forgot to convert QImage to QPixmap when converting HICON

This commit is contained in:
Kovid Goyal 2022-12-16 10:47:06 +05:30
parent c3ab071009
commit 1d866e0b6b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -16,7 +16,7 @@ ICON_SIZE = 256
def hicon_to_pixmap(hicon): def hicon_to_pixmap(hicon):
return progress_indicator.image_from_hicon(int(hicon)) return QPixmap.fromImage(progress_indicator.image_from_hicon(int(hicon)))
def pixmap_to_data(pixmap): def pixmap_to_data(pixmap):