Fix message being rendered twice in new splash screen

This commit is contained in:
Kovid Goyal 2017-06-16 08:48:10 +05:30
parent 51c4ee2343
commit 9ed8ffcd23
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)