]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Fixup previous commit
authorMarkus Goetz <markus@woboq.com>
Wed, 12 Oct 2016 17:10:56 +0000 (19:10 +0200)
committerMarkus Goetz <markus@woboq.com>
Wed, 12 Oct 2016 17:10:56 +0000 (19:10 +0200)
Thanks @ogoffart for spotting.

src/gui/application.cpp

index 509549218b9062d73ed6be43584b72abb122e050..70c09c4347a98f28b00ccd36d831cafb5ceaedfa 100644 (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);
     }
 }