mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 14:09:02 +08:00
Merge pull request #771 from thopiekar/master-buildtype-in-splashscreen
Splashscreen: Another (and last) correction
This commit is contained in:
commit
e8b66b919a
@ -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])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user