summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@digia.com>2013-09-17 09:07:05 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2013-09-17 13:27:39 +0200
commita82c1bd8dfddf41bd728d297f453cd2fd64faeb4 (patch)
tree5aa6037d5f3551d1a71039b31c09f0bb56764c6f /src
parentc0783d89b802e6e054ac062480b1fef5272fa274 (diff)
Fix not moving uninstallation progressBar
Set 'component' name value for minimalprogressoperation. Wihout the value sortOperationsBasedOnComponentDependencies puts the operation to execute as the last one. This creates 'freeze' of uninstallation bar Change-Id: I3b894b2c48ed5008d1d265084451da6fc4e3ef86 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/libs/installer/component.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp
index 2fa25204e..472f269fc 100644
--- a/src/libs/installer/component.cpp
+++ b/src/libs/installer/component.cpp
@@ -900,6 +900,7 @@ OperationList Component::operations() const
if (!d->m_minimumProgressOperation) {
d->m_minimumProgressOperation = KDUpdater::UpdateOperationFactory::instance()
.create(QLatin1String("MinimumProgress"));
+ d->m_minimumProgressOperation->setValue(QLatin1String("component"), name());
d->m_operations.append(d->m_minimumProgressOperation);
}
@@ -907,6 +908,7 @@ OperationList Component::operations() const
d->m_licenseOperation = KDUpdater::UpdateOperationFactory::instance()
.create(QLatin1String("License"));
d->m_licenseOperation->setValue(QLatin1String("installer"), QVariant::fromValue(d->m_core));
+ d->m_licenseOperation->setValue(QLatin1String("component"), name());
QVariantMap licenses;
const QList<QPair<QString, QString> > values = d->m_licenses.values();