From e22a3eeb1e316d41a2e4844e2996c4f2933b312d Mon Sep 17 00:00:00 2001 From: Yuriy Puchkov Date: Tue, 6 Oct 2020 08:36:45 +0300 Subject: [PATCH] Set option 'Launch at startup' true by default --- src/utils/confighandler.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/utils/confighandler.cpp b/src/utils/confighandler.cpp index d0cfc496..1699d25b 100644 --- a/src/utils/confighandler.cpp +++ b/src/utils/confighandler.cpp @@ -305,16 +305,13 @@ void ConfigHandler::setKeepOpenAppLauncher(const bool keepOpen) bool ConfigHandler::startupLaunchValue() { - bool res = false; - + bool res = true; if (m_settings.contains(QStringLiteral("startupLaunch"))) { res = m_settings.value(QStringLiteral("startupLaunch")).toBool(); } - if (res != verifyLaunchFile()) { setStartupLaunch(res); } - return res; }