[PC-BSD Commits] r320 - pcbsd/trunk/PCInstall

svn at pcbsd.org svn at pcbsd.org
Sun Jun 10 09:39:51 PDT 2007


Author: tim
Date: 2007-06-10 17:39:51 +0100 (Sun, 10 Jun 2007)
New Revision: 320

Modified:
   pcbsd/trunk/PCInstall/pcinstall.ui.h
Log:
Multiple fixes:
- Ensure password boxes are coloured white if passwords are ok
- Fixed compile warnings



Modified: pcbsd/trunk/PCInstall/pcinstall.ui.h
===================================================================
--- pcbsd/trunk/PCInstall/pcinstall.ui.h	2007-06-09 02:26:21 UTC (rev 319)
+++ pcbsd/trunk/PCInstall/pcinstall.ui.h	2007-06-10 16:39:51 UTC (rev 320)
@@ -486,8 +486,10 @@
     
     if(ok == 0)
     {
-          textAcctNotify->setText("");
-          setNextEnabled(currentPage(), TRUE);	
+	linePassword->setPaletteBackgroundColor(colourWhite);
+	linePassword2->setPaletteBackgroundColor(colourWhite);
+	textAcctNotify->setText("");
+	setNextEnabled(currentPage(), TRUE);	
     } else {
           setNextEnabled(currentPage(), FALSE);	
     }
@@ -2822,7 +2824,7 @@
         d.setFilter( QDir::Dirs );
         d.setSorting( QDir::Name );
 	
-        for ( int i = 0; i < d.count(); i++ )
+        for ( uint i = 0; i < d.count(); i++ )
         {
 	    QFile file( "/usr/local/pcbsd/Components/" + d[i] + "/component.cfg" );
 	    if ( file.open( IO_ReadOnly ) ) {



More information about the Commits mailing list