mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
06cf81afbf
commit
d3599a92fe
@ -35,7 +35,7 @@ class Icon(QWidget):
|
|||||||
x = (self.width() - 64) // 2
|
x = (self.width() - 64) // 2
|
||||||
y = (self.height() - 64) // 2
|
y = (self.height() - 64) // 2
|
||||||
p = QPainter(self)
|
p = QPainter(self)
|
||||||
p.drawPixmap(x, y, self.width(), self.height(), self.pixmap)
|
p.drawPixmap(x, y, 64, 64, self.pixmap)
|
||||||
|
|
||||||
|
|
||||||
class MessageBox(QDialog): # {{{
|
class MessageBox(QDialog): # {{{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user