mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 19:33:41 +02:00
Dont make the splash screen unnecessarily large
This commit is contained in:
parent
2a406cb55d
commit
10b1829fe8
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ def __init__(self, develop=False):
|
|||
self.pmap = self.pmap.scaled(int(self.dpr * self.LOGO_SIZE), int(self.dpr * self.LOGO_SIZE), transformMode=Qt.SmoothTransformation)
|
||||
self.light_brush = QBrush(QColor('#F6F3E9'))
|
||||
self.dark_brush = QBrush(QColor('#39322B'))
|
||||
pmap = QPixmap(int(self.WIDTH * self.dpr), int(self.WIDTH * self.dpr))
|
||||
pmap = QPixmap(int(self.WIDTH * self.dpr), int(self.total_height * self.dpr))
|
||||
pmap.setDevicePixelRatio(self.dpr)
|
||||
pmap.fill(Qt.transparent)
|
||||
QSplashScreen.__init__(self, pmap)
|
||||
|
|
|
|||
Loading…
Reference in a new issue