summaryrefslogtreecommitdiffstats
path: root/installerbuilder
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-08-10 13:30:12 +0200
committerkh1 <qt-info@nokia.com>2011-08-10 13:40:28 +0200
commit6d98312b46d4b65dd71e3169fbad520a07503aaa (patch)
treeee115da681a11731cff8d59f78ff41e409504444 /installerbuilder
parent42cac1628484cec0a2fa7cf4b009cd890af00dae (diff)
Small style and typo fix.
Review-By: Niels Weber
Diffstat (limited to 'installerbuilder')
-rw-r--r--installerbuilder/libinstaller/packagemanagercore_p.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/installerbuilder/libinstaller/packagemanagercore_p.cpp b/installerbuilder/libinstaller/packagemanagercore_p.cpp
index 6a9ea1735..042b6da00 100644
--- a/installerbuilder/libinstaller/packagemanagercore_p.cpp
+++ b/installerbuilder/libinstaller/packagemanagercore_p.cpp
@@ -338,11 +338,10 @@ bool PackageManagerCorePrivate::appendComponentsToInstall(const QList<Component*
//now we are looking for auto depend on components
foreach (Component* currentComponent, m_core->availableComponents()) {
if (!currentComponent->isInstalled()
- && !m_toInstallComponentIds.contains(currentComponent->name())
- && currentComponent->isAutoDependOn(m_toInstallComponentIds)) {
- insertInstallReason(currentComponent, QString(
- tr("component(s) with activated auto depend on ")));
- foundAutoDependOnList.append(currentComponent);
+ && !m_toInstallComponentIds.contains(currentComponent->name())
+ && currentComponent->isAutoDependOn(m_toInstallComponentIds)) {
+ insertInstallReason(currentComponent, tr("Component(s) with activated auto depend on "));
+ foundAutoDependOnList.append(currentComponent);
}
}
}