This commit is contained in:
Kovid Goyal 2016-11-02 17:54:56 +05:30
parent 06cf81afbf
commit d3599a92fe

View File

@ -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): # {{{