summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2023-02-16 18:54:29 +0100
committerThomas Hartmann <thomas.hartmann@qt.io>2023-02-16 20:30:49 +0000
commitcabf16c52172d576e73664497f6c717ec23dd735 (patch)
tree1510ab47b4fedf88a9d67ca4d492d2efe369f634
parent440bfbfd904b1401814836456a072b47473c0261 (diff)
downloadqt-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.cpp1
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());