Browse files

Increment the top progress bar while installing the packages

  • Loading branch information...
1 parent cb8f638 commit 1d1b42506cf33a90ce8f25a4bfd2f16ec53e4120 @kmoore134 kmoore134 committed Aug 16, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 src-qt4/pc-installgui/installer.cpp
View
6 src-qt4/pc-installgui/installer.cpp
@@ -1393,6 +1393,12 @@ void Installer::slotReadInstallerOutput()
// Doing meta-pkgs
if ( installFoundMetaCounter ) {
+ // Check if we are on the next meta-pkg
+ if ( tmp.indexOf("Running chroot command: pkg info") != -1 ) {
+ progressBarInstall->setValue(progressBarInstall->value() + 1);
+ continue;
+ }
+
if ( tmp.indexOf("Package installation complete!") != -1 ) {
installFoundMetaCounter = false;
progressBarInstall->setRange(0, 0);

0 comments on commit 1d1b425

Please sign in to comment.