From fc38cd8215cf0b69aa9ab71cf6e1c5a68496fc3e Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 17 Apr 2022 22:31:40 +0200 Subject: rbutil: Fix uninstall not updating install log. Change-Id: Icd71f1a2de73d23c6580523de8c810b5a10a194b --- utils/rbutilqt/base/uninstall.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utils/rbutilqt/base/uninstall.cpp b/utils/rbutilqt/base/uninstall.cpp index ea0ce31eed..db150b411c 100644 --- a/utils/rbutilqt/base/uninstall.cpp +++ b/utils/rbutilqt/base/uninstall.cpp @@ -101,15 +101,13 @@ void Uninstaller::uninstall(void) dir.rmdir(dirList.at(j)); // rm works only on empty folders } // for speed reasons update log file only at the end. - installlog.beginGroup(uninstallSections.at(i)); for (const auto& file : deletedItems) { installlog.remove(file); } - installlog.endGroup(); + installlog.remove(""); installlog.endGroup(); - //installlog.removeGroup(uninstallSections.at(i)) } uninstallSections.clear(); installlog.sync(); -- cgit v1.2.3