Set option 'Launch at startup' true by default

This commit is contained in:
Yuriy Puchkov
2020-10-06 08:36:45 +03:00
parent d4007100da
commit e22a3eeb1e

View File

@@ -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;
}