From c0e0891897ec90d70e0a8443bdcf99c516b2b230 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 8 Dec 2021 12:56:59 +0100 Subject: [PATCH] Wireup the communityEdition flag to the backend Change-Id: I5b125edab7a2e7988c98dfb1f959b634398c10c8 Reviewed-by: Thomas Hartmann --- .../welcomepage/imports/WelcomeScreen/Constants.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/welcomepage/imports/WelcomeScreen/Constants.qml b/share/qtcreator/qmldesigner/welcomepage/imports/WelcomeScreen/Constants.qml index 856a55b8426..5774f3ca9ff 100644 --- a/share/qtcreator/qmldesigner/welcomepage/imports/WelcomeScreen/Constants.qml +++ b/share/qtcreator/qmldesigner/welcomepage/imports/WelcomeScreen/Constants.qml @@ -30,9 +30,10 @@ import StudioTheme 1.0 import projectmodel 1.0 QtObject { + id: singleton readonly property int width: 1842 readonly property int height: 1080 - property bool communityEdition: false + property bool communityEdition: singleton.projectModel.communityVersion property alias fontDirectory: directoryFontLoader.fontDirectory property alias relativeFontDirectory: directoryFontLoader.relativeFontDirectory