[PC-BSD Commits] r6537 - pcbsd/trunk/SysInstaller

svn at pcbsd.org svn at pcbsd.org
Thu Apr 8 09:05:55 PDT 2010


Author: kris
Date: 2010-04-08 09:05:55 -0700 (Thu, 08 Apr 2010)
New Revision: 6537

Modified:
   pcbsd/trunk/SysInstaller/sysinstaller.cpp
Log:

Fix small graphical glitch on restores



Modified: pcbsd/trunk/SysInstaller/sysinstaller.cpp
===================================================================
--- pcbsd/trunk/SysInstaller/sysinstaller.cpp	2010-04-08 15:00:10 UTC (rev 6536)
+++ pcbsd/trunk/SysInstaller/sysinstaller.cpp	2010-04-08 16:05:55 UTC (rev 6537)
@@ -304,6 +304,9 @@
    if ( radioRestore->isChecked() ) {
      if ( stackWidget->currentIndex() == 3 ) {
        startConfigGen();
+       QString ss = labels.at(3)->styleSheet();
+       labels.at(3)->setStyleSheet("color: rgb(255, 255, 255);");
+       labels.at(7)->setStyleSheet(ss);
        setCurrentIndex(7);
        return;
      }
@@ -333,6 +336,9 @@
    // If we are doing a rsync restore need to skip some pages
    if ( radioRestore->isChecked() ) {
      if ( stackWidget->currentIndex() == 7 ) {
+       QString ss = labels.at(7)->styleSheet();
+       labels.at(7)->setStyleSheet("color: rgb(255, 255, 255);");
+       labels.at(3)->setStyleSheet(ss);
        setCurrentIndex(3);
        return;
      }



More information about the Commits mailing list