summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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