diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2022-01-18 19:46:28 +0100 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2022-01-18 22:57:47 +0000 |
commit | 81dd1ba294ba7a3e438eedab4e0e250793027afa (patch) | |
tree | 7ac4136b122514ae6d9fd6ae91d6f39250052742 /src/plugins/studiowelcome/qml | |
parent | c57573708a12b05d0332363e5f17fea6a71d6c82 (diff) |
StudioWelcome: Show text for correct version
Task-number: QDS-5725
Change-Id: I040d9f1f0817fc719da060dd31ee6a04981199e3
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins/studiowelcome/qml')
-rw-r--r-- | src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml b/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml index 86a1dae392..a145cbcabe 100644 --- a/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml +++ b/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml @@ -341,10 +341,16 @@ Rectangle { x: 15 y: 65 color: "#ffffff" - text: qsTr("Community Edition") + font.pixelSize: 13 font.family: StudioFonts.titilliumWeb_light - visible: projectModel.communityVersion + text: { + if (projectModel.communityVersion) + return qsTr("Community Edition") + if (projectModel.enterpriseVersion) + return qsTr("Enterprise Edition") + return qsTr("Professional Edition") + } ProjectModel { id: projectModel |