mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-26 21:23:03 +02:00
...
This commit is contained in:
parent
06cf81afbf
commit
d3599a92fe
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ def paintEvent(self, ev):
|
|||
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): # {{{
|
||||
|
|
|
|||
Loading…
Reference in a new issue