forked from qt-creator/qt-creator
StudioWelcome: Only replace wizards when running as Design Studio
Task-number: QTCREATORBUG-26936 Change-Id: I11c14bd916a7139fc4d133b8b3b8a79fa7770409 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -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] {
|
||||
|
Reference in New Issue
Block a user