Merge pull request #771 from thopiekar/master-buildtype-in-splashscreen

Splashscreen: Another (and last) correction
This commit is contained in:
Ghostkeeper 2016-06-06 08:34:07 +02:00
commit e8b66b919a

View File

@ -23,7 +23,7 @@ class CuraSplashScreen(QSplashScreen):
version = Application.getInstance().getVersion().split("-")
buildtype = Application.getInstance().getBuildType()
if buildtype:
version += " (%s)" %(buildtype)
version[0] += " (%s)" %(buildtype)
painter.setFont(QFont("Proxima Nova Rg", 20 ))
painter.drawText(0, 0, 330 * self._scale, 230 * self._scale, Qt.AlignHCenter | Qt.AlignBottom, version[0])