aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2022-01-27 10:09:46 +0100
committerEike Ziller <eike.ziller@qt.io>2022-01-27 12:24:46 +0000
commita89f6919d2f3a91367ce9a8b85128004f08aa9e2 (patch)
tree67c97fae0e1722a1972f2d9bb54a575d9ec358f6
parenta117a558fe77fe63377e063c1424e8a66399fde2 (diff)
StudioWelcome: Only replace wizards when running as Design Studioqds/v3.0.0qds-3.0
Task-number: QTCREATORBUG-26936 Change-Id: I11c14bd916a7139fc4d133b8b3b8a79fa7770409 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/plugins/studiowelcome/studiowelcomeplugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp
index 53f6e25a7f..5aea2a6a32 100644
--- a/src/plugins/studiowelcome/studiowelcomeplugin.cpp
+++ b/src/plugins/studiowelcome/studiowelcomeplugin.cpp
@@ -581,7 +581,8 @@ void StudioWelcomePlugin::extensionsInitialized()
Core::ModeManager::activateMode(m_welcomeMode->id());
// Enable QDS new project dialog
- Core::ICore::setNewDialogFactory([](QWidget *parent) { return new QdsNewDialog(parent); });
+ if (Core::ICore::settings()->value("QML/Designer/StandAloneMode", false).toBool())
+ Core::ICore::setNewDialogFactory([](QWidget *parent) { return new QdsNewDialog(parent); });
if (showSplashScreen()) {
connect(Core::ICore::instance(), &Core::ICore::coreOpened, this, [this] {