[PC-BSD Commits] r2144 - pcbsd/trunk/PCInstall
svn at pcbsd.org
svn at pcbsd.org
Fri Jun 20 08:06:43 PDT 2008
Author: kris
Date: 2008-06-20 08:06:42 -0700 (Fri, 20 Jun 2008)
New Revision: 2144
Modified:
pcbsd/trunk/PCInstall/pcinstall.cpp
Log:
Fixed up the progress bar to reset itself for CD2
Modified: pcbsd/trunk/PCInstall/pcinstall.cpp
===================================================================
--- pcbsd/trunk/PCInstall/pcinstall.cpp 2008-06-20 14:29:39 UTC (rev 2143)
+++ pcbsd/trunk/PCInstall/pcinstall.cpp 2008-06-20 15:06:42 UTC (rev 2144)
@@ -3155,10 +3155,19 @@
{
textFileProgress->setText(tr("Installing CD2..."));
textFileProgressUpgrade->setText(tr("Installing CD2..."));
+
+ // Reset the progress bar
+ installProgress->reset();
+ installProgressUpgrade->reset();
+
+ // Set the total steps to the new size
+ installProgress->setTotalSteps(ExtractCD2Lines);
installProgressUpgrade->setTotalSteps(ExtractCD2Lines);
- installProgress->setTotalSteps(ExtractCD2Lines);
+
+ // Set the Progress to 0
installProgress->setProgress(0);
installProgressUpgrade->setProgress(0);
+
ExtractSize = 0;
// We have mounted CD2, now lets kick off the installer for it
More information about the Commits
mailing list