From cabf16c52172d576e73664497f6c717ec23dd735 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 16 Feb 2023 18:54:29 +0100 Subject: [PATCH] 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 Reviewed-by: Thomas Hartmann --- src/plugins/studiowelcome/studiowelcomeplugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp index 04b44374dc6..677113221df 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());