From 0c23c26ac91b7bcdccfa7525686e8317bcaa14f9 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Sun, 3 Jul 2016 16:01:57 +0200 Subject: [PATCH] Code style CURA-1676 --- cura/CuraSplashScreen.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/cura/CuraSplashScreen.py b/cura/CuraSplashScreen.py index 3f24502bcd..1df2c39da7 100644 --- a/cura/CuraSplashScreen.py +++ b/cura/CuraSplashScreen.py @@ -25,14 +25,13 @@ class CuraSplashScreen(QSplashScreen): if buildtype: version[0] += " (%s)" %(buildtype) - used_font = QFont() # Using system-default font here - used_font.setPointSize(20) - painter.setFont(used_font) + font = QFont() # Using system-default font here + font.setPointSize(20) + painter.setFont(font) painter.drawText(0, 0, 330 * self._scale, 230 * self._scale, Qt.AlignHCenter | Qt.AlignBottom, version[0]) if len(version) > 1: - used_font = QFont() # Using system-default font here - used_font.setPointSize(12) - painter.setFont(used_font) + font.setPointSize(12) + painter.setFont(font) painter.drawText(0, 0, 330 * self._scale, 255 * self._scale, Qt.AlignHCenter | Qt.AlignBottom, version[1]) painter.restore()