diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2023-02-16 18:54:29 +0100 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2023-02-16 20:30:49 +0000 |
commit | cabf16c52172d576e73664497f6c717ec23dd735 (patch) | |
tree | 1510ab47b4fedf88a9d67ca4d492d2efe369f634 | |
parent | 440bfbfd904b1401814836456a072b47473c0261 (diff) | |
download | qt-creator-cabf16c52172d576e73664497f6c717ec23dd735.tar.gz |
StudioWelcome: Disable the mode bar once on first start
This ensures that users who explcily enabled the mode bar,
still get a hidden mode bar, unless they explicitly enable it
again.
Change-Id: I491dc1809b4cffa2637919c1c4ac35cef1e27ccc
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r-- | src/plugins/studiowelcome/studiowelcomeplugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp index 04b44374dc..677113221d 100644 --- a/src/plugins/studiowelcome/studiowelcomeplugin.cpp +++ b/src/plugins/studiowelcome/studiowelcomeplugin.cpp @@ -532,6 +532,7 @@ void StudioWelcomePlugin::extensionsInitialized() if (showSplashScreen()) { connect(Core::ICore::instance(), &Core::ICore::coreOpened, this, [this] { + Core::ModeManager::setModeStyle(Core::ModeManager::Style::Hidden); if (Utils::HostOsInfo::isMacHost()) { s_viewWindow = new QQuickView(Core::ICore::mainWindow()->windowHandle()); |