mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-28 09:42:33 -04:00
...
This commit is contained in:
@@ -35,7 +35,7 @@ class Icon(QWidget):
|
||||
x = (self.width() - 64) // 2
|
||||
y = (self.height() - 64) // 2
|
||||
p = QPainter(self)
|
||||
p.drawPixmap(x, y, self.width(), self.height(), self.pixmap)
|
||||
p.drawPixmap(x, y, 64, 64, self.pixmap)
|
||||
|
||||
|
||||
class MessageBox(QDialog): # {{{
|
||||
|
||||
Reference in New Issue
Block a user