mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix message being rendered twice in new splash screen
This commit is contained in:
parent
51c4ee2343
commit
9ed8ffcd23
@ -52,7 +52,6 @@ class SplashScreen(QSplashScreen):
|
|||||||
self.setWindowTitle(__appname__)
|
self.setWindowTitle(__appname__)
|
||||||
|
|
||||||
def drawContents(self, painter):
|
def drawContents(self, painter):
|
||||||
QSplashScreen.drawContents(self, painter)
|
|
||||||
self.drawn_once = True
|
self.drawn_once = True
|
||||||
painter.save()
|
painter.save()
|
||||||
painter.setRenderHint(painter.TextAntialiasing, True)
|
painter.setRenderHint(painter.TextAntialiasing, True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user