[PC-BSD Commits] r19435 - pcbsd-projects/PCDM

svn at pcbsd.org svn at pcbsd.org
Fri Sep 21 10:49:19 PDT 2012


Author: kenmoore
Date: 2012-09-21 17:49:19 +0000 (Fri, 21 Sep 2012)
New Revision: 19435

Modified:
   pcbsd-projects/PCDM/main.cpp
Log:
Oops, fix a typo in the auto-login detection



Modified: pcbsd-projects/PCDM/main.cpp
===================================================================
--- pcbsd-projects/PCDM/main.cpp	2012-09-21 17:46:52 UTC (rev 19434)
+++ pcbsd-projects/PCDM/main.cpp	2012-09-21 17:49:19 UTC (rev 19435)
@@ -20,7 +20,7 @@
   Backend::openLogFile("/usr/local/share/PCDM/PCDM.log");  
   //Check for the flag to try and auto-login
   bool ALtriggered = FALSE;
-  if(QString(argv[2]) == "-AutoLogin"){ ALtriggered=TRUE; }
+  if(QString(argv[1]) == "-AutoLogin"){ ALtriggered=TRUE; }
   
   QString changeLang; 
   // Load the configuration file



More information about the Commits mailing list