diff options
Diffstat (limited to 'src/libs/installer/packagemanagercore.cpp')
-rw-r--r-- | src/libs/installer/packagemanagercore.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp index db6c692e2..6a449c69a 100644 --- a/src/libs/installer/packagemanagercore.cpp +++ b/src/libs/installer/packagemanagercore.cpp @@ -633,8 +633,6 @@ bool PackageManagerCore::recalculateAllComponents() if (!isInstaller() && !calculateComponentsToUninstall()) return false; - // update install actions - d->updateComponentCheckedState(); // update all nodes uncompressed size foreach (Component *const component, components(ComponentType::Root)) component->updateUncompressedSize(); // this is a recursive call @@ -2186,6 +2184,8 @@ bool PackageManagerCore::calculateComponentsToInstall() const const bool componentsToInstallCalculated = d->installerCalculator()->appendComponentsToInstall(selectedComponentsToInstall); + d->updateComponentInstallActions(); + emit finishedCalculateComponentsToInstall(); return componentsToInstallCalculated; } @@ -2291,6 +2291,8 @@ bool PackageManagerCore::calculateComponentsToUninstall() const const bool componentsToUninstallCalculated = d->uninstallerCalculator()->appendComponentsToUninstall(selectedComponentsToUninstall); + d->updateComponentInstallActions(); + emit finishedCalculateComponentsToUninstall(); return componentsToUninstallCalculated; } |