[PC-BSD Commits] r4070 - pcbsd/trunk-current/kcmPBSystem
svn at pcbsd.org
svn at pcbsd.org
Tue Jun 9 09:49:17 PDT 2009
Author: kris
Date: 2009-06-09 09:49:17 -0700 (Tue, 09 Jun 2009)
New Revision: 4070
Modified:
pcbsd/trunk-current/kcmPBSystem/portsnapprogress.cpp
Log:
Apply previous portsnap fix to trunk-current
Modified: pcbsd/trunk-current/kcmPBSystem/portsnapprogress.cpp
===================================================================
--- pcbsd/trunk-current/kcmPBSystem/portsnapprogress.cpp 2009-06-09 16:22:37 UTC (rev 4069)
+++ pcbsd/trunk-current/kcmPBSystem/portsnapprogress.cpp 2009-06-09 16:49:17 UTC (rev 4070)
@@ -50,7 +50,7 @@
displayString = "";
firstRun = true;
steppedOp = false;
- barWidget->raiseWidget(0);
+ //barWidget->raiseWidget(0);
numberSteps = 0;
//We need to get some preferences from portsnap.conf
@@ -103,7 +103,7 @@
else if (output.find("done") != -1) {
taskProgress->setProgress(100);
steppedOp = false;
- barWidget->raiseWidget(0);
+// barWidget->raiseWidget(0);
}
else if (steppedOp) {
taskProgress->setProgress(taskProgress->progress() + 2);
@@ -124,7 +124,7 @@
if ((output.find("patches") != -1) && (output.find("Applying") == -1)) {
taskProgress->setTotalSteps(numberSteps);
steppedOp = true;
- barWidget->raiseWidget(1);
+ //barWidget->raiseWidget(1);
}
//Check for other special cases
else if (output.find("portsnap") == -1) {
@@ -196,9 +196,9 @@
totalProgress->setProgress(totalProgress->progress() + 1);
}
else {
- barWidget->raiseWidget(0);
+ //barWidget->raiseWidget(0);
if (output.find("Extracting") != -1) {
- barWidget->raiseWidget(1);
+ //barWidget->raiseWidget(1);
totalProgress->setProgress(totalProgress->progress() + 1);
}
taskProgressLbl->setText(output);
More information about the Commits
mailing list