diff options
author | kh1 <qt-info@nokia.com> | 2011-08-09 13:25:08 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-08-09 13:54:43 +0200 |
commit | e9d63e21b349cbbb6a9629686cc2b821cf232f57 (patch) | |
tree | 44645964e314ed40a66c74c333c9bb3e81296c98 | |
parent | 3603979f2548287b12bb12f6926f4797abe0b511 (diff) |
Style fixes.
-rw-r--r-- | installerbuilder/libinstaller/packagemanagercore_p.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/installerbuilder/libinstaller/packagemanagercore_p.cpp b/installerbuilder/libinstaller/packagemanagercore_p.cpp index 087092ea3..6a9ea1735 100644 --- a/installerbuilder/libinstaller/packagemanagercore_p.cpp +++ b/installerbuilder/libinstaller/packagemanagercore_p.cpp @@ -1835,11 +1835,12 @@ void PackageManagerCorePrivate::realAppendToInstallComponents(Component *compone m_orderedToInstallComponents.append(component); m_toInstallComponentIds.insert(component->name()); } -void PackageManagerCorePrivate::insertInstallReason(Component *component, const QString &reason) { + +void PackageManagerCorePrivate::insertInstallReason(Component *component, const QString &reason) +{ //keep the first reason - if (m_toInstallComponentIdReasonHash.value(component->name()).isEmpty()) { + if (m_toInstallComponentIdReasonHash.value(component->name()).isEmpty()) m_toInstallComponentIdReasonHash.insert(component->name(), reason); - } } |