mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #306 from nextcloud/upstream/pr/6347
Set launch-on-startup when the first account is set up
This commit is contained in:
commit
b7a67863a7
@ -365,7 +365,9 @@ void Application::slotownCloudWizardDone(int res)
|
||||
shouldSetAutoStart = shouldSetAutoStart
|
||||
&& QCoreApplication::applicationDirPath().startsWith("/Applications/");
|
||||
#endif
|
||||
Utility::setLaunchOnStartup(_theme->appName(), _theme->appNameGUI(), shouldSetAutoStart);
|
||||
if (shouldSetAutoStart) {
|
||||
Utility::setLaunchOnStartup(_theme->appName(), _theme->appNameGUI(), true);
|
||||
}
|
||||
|
||||
_gui->slotShowSettings();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user