Fixup previous commit

Thanks @ogoffart for spotting.
This commit is contained in:
Markus Goetz 2016-10-12 19:10:56 +02:00
parent fc7aaf792b
commit 5000d40619

View File

@ -343,7 +343,7 @@ void Application::slotownCloudWizardDone( int res )
shouldSetAutoStart = shouldSetAutoStart
&& QCoreApplication::applicationDirPath().startsWith("/Applications/");
#endif
Utility::setLaunchOnStartup(_theme->appName(), _theme->appNameGUI(), true);
Utility::setLaunchOnStartup(_theme->appName(), _theme->appNameGUI(), shouldSetAutoStart);
}
}