rbutil: Use progress bar on uninstall.
When uninstalling parts with lots of small files the process can take quite some time. Update the progress accordingly. Change-Id: Iecc4553b36abbc1cf9652a325ccb29b62a7fc4cc
This commit is contained in:
parent
6ef094c1a9
commit
97176d444e
1 changed files with 2 additions and 1 deletions
|
@ -57,8 +57,9 @@ void Uninstaller::uninstall(void)
|
||||||
installlog.endGroup();
|
installlog.endGroup();
|
||||||
|
|
||||||
// iterate over all entries
|
// iterate over all entries
|
||||||
for(int j =0; j < toDeleteList.size(); j++ )
|
for(int j = 0; j < toDeleteList.size(); j++ )
|
||||||
{
|
{
|
||||||
|
emit logProgress(j, toDeleteList.size());
|
||||||
// check if current file is in use by another section
|
// check if current file is in use by another section
|
||||||
bool deleteFile = true;
|
bool deleteFile = true;
|
||||||
for(int s = 0; s < sections.size(); s++)
|
for(int s = 0; s < sections.size(); s++)
|
||||||
|
|
Loading…
Reference in a new issue