summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/componentmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/componentmodel.cpp')
-rw-r--r--src/libs/installer/componentmodel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/installer/componentmodel.cpp b/src/libs/installer/componentmodel.cpp
index f65611ffe..8005a3533 100644
--- a/src/libs/installer/componentmodel.cpp
+++ b/src/libs/installer/componentmodel.cpp
@@ -398,6 +398,10 @@ void ComponentModel::slotModelReset()
m_initialCheckedState[component->checkState()].insert(component);
}
+ // update all checked components uncompressed size (important for nodes)
+ foreach (QInstaller::Component *component, checked)
+ component->updateUncompressedSize();
+
m_currentCheckedState = m_initialCheckedState;
updateAndEmitModelState(); // update the internal state
}