diff options
author | kh1 <qt-info@nokia.com> | 2011-08-15 13:53:58 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-08-15 13:53:58 +0200 |
commit | eda82798d4547f12f07e4c2d60385b390c0e47bb (patch) | |
tree | f3b1d1c16fa264702384f16c5c3c407191cf5e75 /installerbuilder | |
parent | 6ba25f5e1b4673595837d71eea7f6ef81d50fd3e (diff) |
Revert "Order the list as the name indicates."
There's no need to sort the list, as the dependencies are
resolved in a proper order. Install priority was a hack
introduced to fix the previously not working dependency code.
This reverts commit 2da21f18becc8cdc18870f1dc0b0056837b5f505.
Diffstat (limited to 'installerbuilder')
-rw-r--r-- | installerbuilder/libinstaller/packagemanagercore_p.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/installerbuilder/libinstaller/packagemanagercore_p.cpp b/installerbuilder/libinstaller/packagemanagercore_p.cpp index 99fb67258..18e6c4f52 100644 --- a/installerbuilder/libinstaller/packagemanagercore_p.cpp +++ b/installerbuilder/libinstaller/packagemanagercore_p.cpp @@ -57,7 +57,6 @@ #include <QtCore/QFutureWatcher> #include <QtCore/QTemporaryFile> -#include <algorithm> #include <errno.h> namespace QInstaller { @@ -1832,7 +1831,6 @@ void PackageManagerCorePrivate::realAppendToInstallComponents(Component *compone { m_orderedComponentsToInstall.append(component); m_toInstallComponentIds.insert(component->name()); - std::sort(m_orderedComponentsToInstall.begin(), m_orderedComponentsToInstall.end(), Component::InstallPriorityLessThan()); } void PackageManagerCorePrivate::insertInstallReason(Component *component, const QString &reason) |