This commit is contained in:
fieldOfView 2016-06-06 08:40:14 +02:00
commit b7a441d263
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -16,3 +16,5 @@ resources/firmware
*~ *~
*.qm *.qm
.idea .idea
.project
.pydevproject

View File

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