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

svn at pcbsd.org svn at pcbsd.org
Thu Sep 27 08:01:30 PDT 2012


Author: kenmoore
Date: 2012-09-27 15:01:30 +0000 (Thu, 27 Sep 2012)
New Revision: 19550

Modified:
   pcbsd-projects/PCDM/main.cpp
Log:
Oops, now the splash screen will close properly.



Modified: pcbsd-projects/PCDM/main.cpp
===================================================================
--- pcbsd-projects/PCDM/main.cpp	2012-09-27 14:58:42 UTC (rev 19549)
+++ pcbsd-projects/PCDM/main.cpp	2012-09-27 15:01:30 UTC (rev 19550)
@@ -39,6 +39,7 @@
   if( ALtriggered && Config::useAutoLogin() ){
     //Setup the Auto Login
     Backend::startAutoLogin();
+    splash.close();
   }else{
     // ------START THE PCDM GUI-------
     
@@ -88,7 +89,8 @@
     w.show();
     splash.finish(&w);
     returnCode = a.exec();
-  } // end of PCDM GUI running
+  }  // end of PCDM GUI running
+  
       /*
       if ( QFile::exists(TMPLANGFILE) ) {
          QFile lfile(TMPLANGFILE);
@@ -104,7 +106,6 @@
       }
       */
   // Startup the desktop environment if possible
-  splash.close();
   Backend::startXSession();
 
   return returnCode;



More information about the Commits mailing list