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

svn at pcbsd.org svn at pcbsd.org
Thu Apr 4 09:23:09 PDT 2013


Author: kenmoore
Date: 2013-04-04 16:23:09 +0000 (Thu, 04 Apr 2013)
New Revision: 22064

Modified:
   pcbsd-projects/PCDM/pcdm-gui.cpp
Log:
Try an alternate fix for the widget resizing issue



Modified: pcbsd-projects/PCDM/pcdm-gui.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-gui.cpp	2013-04-04 16:17:05 UTC (rev 22063)
+++ pcbsd-projects/PCDM/pcdm-gui.cpp	2013-04-04 16:23:09 UTC (rev 22064)
@@ -421,6 +421,7 @@
     loginW->displayHostName(hostname);	  
   }
   loginW->retranslateUi();
+  loginW->updateGeometry(); //make sure the widget is the proper size
   //The desktop switcher
   deSwitcher->removeAllItems();
   QStringList deList = Backend::getAvailableDesktops();
@@ -432,8 +433,6 @@
   }
     //Set the switcher to the last used desktop environment
     if( !lastDE.isEmpty() ){ deSwitcher->setCurrentItem(lastDE); }
-    
-  this->updateGeometry(); //make sure all the widgets are the proper size
 
 }
 



More information about the Commits mailing list