[Pkg-owncloud-commits] [owncloud-client] 90/94: Set launch-on-startup when the first account is set up
Sandro Knauß
hefee at debian.org
Thu Mar 29 11:12:18 UTC 2018
This is an automated email from the git hooks/post-receive script.
hefee pushed a commit to branch upstream
in repository owncloud-client.
commit 33306dcc381550b451c8591c658dfe4af1bd7318
Author: Christian Kamm <mail at ckamm.de>
Date: Tue Feb 20 11:03:46 2018 +0100
Set launch-on-startup when the first account is set up
The previous code would disable it when the second account was
configured.
See #6347
---
src/gui/application.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gui/application.cpp b/src/gui/application.cpp
index 934e23e..a6df9b1 100644
--- a/src/gui/application.cpp
+++ b/src/gui/application.cpp
@@ -338,7 +338,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();
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list