Merge pull request #50 from namecheap/bugfix/RND-654-flameshot-make-launch-at-startup-true-by-default

Set option 'Launch at startup' true by default
This commit is contained in:
Yurii Puchkov
2020-10-05 23:16:01 -07:00
committed by GitHub

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