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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user