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:
parent
4bd1aacbc4
commit
28936603be
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue