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

svn at pcbsd.org svn at pcbsd.org
Wed Apr 3 09:06:46 PDT 2013


Author: kenmoore
Date: 2013-04-03 16:06:46 +0000 (Wed, 03 Apr 2013)
New Revision: 22039

Modified:
   pcbsd-projects/PCDM/pcdm-xprocess.cpp
Log:
Oops, forgot to emit the error signal if the inputs are not valid. This should fix the GUI hanging if you attempt to login without a password.



Modified: pcbsd-projects/PCDM/pcdm-xprocess.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-xprocess.cpp	2013-04-03 16:01:59 UTC (rev 22038)
+++ pcbsd-projects/PCDM/pcdm-xprocess.cpp	2013-04-03 16:06:46 UTC (rev 22039)
@@ -58,7 +58,8 @@
 
 bool XProcess::startXSession(){
   //Check that the necessary info to start the session is available
-  if( xuser.isEmpty() || xcmd.isEmpty() || xhome.isEmpty() || xpwd.isEmpty() ){
+  if( xuser.isEmpty() || xcmd.isEmpty() || xhome.isEmpty() ){
+    emit InvalidLogin();  //Make sure the GUI knows that it was a failure
     return FALSE;
   }
   //Backend::log("Starting up Desktop environment ("+xcmd+") as user ("+xuser+")");



More information about the Commits mailing list