summaryrefslogtreecommitdiffstats
path: root/installerbuilder
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-08-15 17:48:36 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2011-08-16 11:35:13 +0200
commitea61ee4e9512f659f2030a6ac29502b6755e61d1 (patch)
tree6af701ae2e84fe2e31f9c244a36a873be460c6ad /installerbuilder
parent93e804d49822b8405f3f12158b2893bab695f60a (diff)
improve absurdly comment
Change-Id: Id72ee3d55f02d54de89ecfae620cac55c9756a0b Reviewed-on: http://codereview.qt.nokia.com/2980 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'installerbuilder')
-rw-r--r--installerbuilder/libinstaller/packagemanagercore_p.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/installerbuilder/libinstaller/packagemanagercore_p.h b/installerbuilder/libinstaller/packagemanagercore_p.h
index a6575e794..439dcee4d 100644
--- a/installerbuilder/libinstaller/packagemanagercore_p.h
+++ b/installerbuilder/libinstaller/packagemanagercore_p.h
@@ -218,12 +218,13 @@ private:
//calculate installation order variables
QList<Component*> m_orderedComponentsToInstall;
- QHash<QString, QString> m_toInstallComponentIdReasonHash; //for faster lookups
QHash<Component*, QSet<Component*> > m_visitedComponents;
- //in some cases we have the reason a while before we can it really,
- //so we can't use ReasonHash as a quick is allready added check
- QSet<QString> m_toInstallComponentIds;
+ QSet<QString> m_toInstallComponentIds; //for faster lookups
+
+ //we can't use this reason hash as component id hash, because some reasons are ready before
+ //the component is added
+ QHash<QString, QString> m_toInstallComponentIdReasonHash;
};
} // QInstaller