diff options
Diffstat (limited to 'installerbuilder/libinstaller/packagemanagercore_p.cpp')
-rw-r--r-- | installerbuilder/libinstaller/packagemanagercore_p.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installerbuilder/libinstaller/packagemanagercore_p.cpp b/installerbuilder/libinstaller/packagemanagercore_p.cpp index f00ea9c13..ae07430d9 100644 --- a/installerbuilder/libinstaller/packagemanagercore_p.cpp +++ b/installerbuilder/libinstaller/packagemanagercore_p.cpp @@ -400,7 +400,7 @@ bool PackageManagerCorePrivate::appendComponentsToInstall(const QList<Component* } } - if (!notAppendedComponents.isEmpty()) { + if (notAppendedComponents.count() > 0) { //try again to append the not appended component because the last appended ones could //are the missing dependencies appendComponentsToInstall(notAppendedComponents, WithResolvedDependenciesAppendToInstallState); @@ -413,7 +413,7 @@ bool PackageManagerCorePrivate::appendComponentsToInstall(const QList<Component* notAppendedComponents.append(currentComponent); } } - if (!notAppendedComponents.isEmpty()) + if (notAppendedComponents.count() > 0) appendComponentsToInstall(notAppendedComponents, WithoutDependenciesAppendToInstallState); //else //nothing we are ready |