summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/installer/component.cpp2
-rw-r--r--src/libs/installer/packagemanagercore.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp
index 3436678c9..8df8e8db3 100644
--- a/src/libs/installer/component.cpp
+++ b/src/libs/installer/component.cpp
@@ -342,7 +342,7 @@ quint64 Component::updateUncompressedSize()
{
quint64 size = 0;
- if (installationRequested() || updateRequested())
+ if (isSelected())
size = d->m_vars.value(scUncompressedSize).toLongLong();
foreach (Component* comp, d->m_allChildComponents)
diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp
index 2f06b0fbb..4190efd18 100644
--- a/src/libs/installer/packagemanagercore.cpp
+++ b/src/libs/installer/packagemanagercore.cpp
@@ -476,7 +476,7 @@ quint64 size(QInstaller::Component *component, const QString &value)
/*!
\qmlmethod float installer::requiredDiskSpace()
- Returns the estimated amount of disk space in bytes required after installation.
+ Returns the additional estimated amount of disk space in bytes required after installation.
\sa requiredTemporaryDiskSpace
*/