When portable installation is finished set progress value to 100%.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15154 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2007-10-16 21:30:13 +00:00
parent 4bd1aacbc4
commit 28936603be

View file

@ -861,6 +861,8 @@ void RbUtilQt::installPortable(void)
return; return;
ProgressLoggerGui* logger = new ProgressLoggerGui(this); ProgressLoggerGui* logger = new ProgressLoggerGui(this);
logger->setProgressMax(0);
logger->setProgressValue(0);
logger->show(); logger->show();
logger->addItem(tr("Installing Rockbox Utility"), LOGINFO); logger->addItem(tr("Installing Rockbox Utility"), LOGINFO);
@ -888,6 +890,8 @@ void RbUtilQt::installPortable(void)
} }
logger->addItem(tr("Successfully installed Rockbox Utility."), LOGOK); logger->addItem(tr("Successfully installed Rockbox Utility."), LOGOK);
logger->abort(); logger->abort();
logger->setProgressMax(1);
logger->setProgressValue(1);
} }