mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Windows: Forgot to convert QImage to QPixmap when converting HICON
This commit is contained in:
parent
c3ab071009
commit
1d866e0b6b
@ -16,7 +16,7 @@ ICON_SIZE = 256
|
||||
|
||||
|
||||
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user