Prechádzať zdrojové kódy

Fixup previous commit

Thanks @ogoffart for spotting.
Markus Goetz 9 rokov pred
rodič
commit
5000d40619
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/gui/application.cpp

+ 1 - 1
src/gui/application.cpp

@@ -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);
     }
 }