From 97176d444eb377aa4efe83430d87eae0afb793d7 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Thu, 14 Apr 2022 22:37:45 +0200 Subject: [PATCH] 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 --- utils/rbutilqt/base/uninstall.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/rbutilqt/base/uninstall.cpp b/utils/rbutilqt/base/uninstall.cpp index 5ab670a031..6b4e08b55a 100644 --- a/utils/rbutilqt/base/uninstall.cpp +++ b/utils/rbutilqt/base/uninstall.cpp @@ -57,8 +57,9 @@ void Uninstaller::uninstall(void) installlog.endGroup(); // 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 bool deleteFile = true; for(int s = 0; s < sections.size(); s++)