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

svn at pcbsd.org svn at pcbsd.org
Fri Mar 1 11:05:11 PST 2013


Author: kenmoore
Date: 2013-03-01 19:05:11 +0000 (Fri, 01 Mar 2013)
New Revision: 21687

Modified:
   pcbsd-projects/PCDM/pcdm-gui.cpp
Log:
OK, now the initial user will have the icon set properly



Modified: pcbsd-projects/PCDM/pcdm-gui.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-gui.cpp	2013-03-01 18:55:03 UTC (rev 21686)
+++ pcbsd-projects/PCDM/pcdm-gui.cpp	2013-03-01 19:05:11 UTC (rev 21687)
@@ -158,6 +158,7 @@
     loginW = new LoginWidget;
     loginW->setUsernames(Backend::getSystemUsers()); //add in the detected users
     if(!lastUser.isEmpty()){ loginW->setCurrentUser(lastUser); } //set the previously used user
+    slotUserChanged(loginW->currentUsername()); //Make sure that we have the correct icon
     //Set Icons from theme
     tmpIcon = currentTheme->itemIcon("login");
     if(!QFile::exists(tmpIcon) || tmpIcon.isEmpty() ){ tmpIcon=":/images/next.png"; }



More information about the Commits mailing list