diff options
author | Tim Jenssen <tim.jenssen@nokia.com> | 2011-07-26 08:49:26 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2011-07-27 14:25:56 +0200 |
commit | 0b796bb45919a060b40335728d3cd3bd9596fb5b (patch) | |
tree | c1b831d31038f0f54d00d1a853ceb54ed75781a8 /installerbuilder/libinstaller/packagemanagercore.cpp | |
parent | 773f17113440c81ef6b7d9998cb75563d062f4f7 (diff) |
calculateToInstallComponents got a return value
- to check that an installation is possible
Reviewed-By: Niels Weber
Diffstat (limited to 'installerbuilder/libinstaller/packagemanagercore.cpp')
-rw-r--r-- | installerbuilder/libinstaller/packagemanagercore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installerbuilder/libinstaller/packagemanagercore.cpp b/installerbuilder/libinstaller/packagemanagercore.cpp index b32d8db2a..ddd57bebd 100644 --- a/installerbuilder/libinstaller/packagemanagercore.cpp +++ b/installerbuilder/libinstaller/packagemanagercore.cpp @@ -916,10 +916,10 @@ QString PackageManagerCore::installReason(Component* component) return d->installReason(component); } -void PackageManagerCore::calculateToInstallComponents() +bool PackageManagerCore::calculateToInstallComponents() { d->clearComponentsToInstall(); - d->appendComponentsToInstall(availableComponents()); + return d->appendComponentsToInstall(availableComponents()); } QList<Component*> PackageManagerCore::componentsToInstall(RunMode runMode) const |