summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/packagemanagercore.cpp
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-07-26 08:49:26 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2011-07-27 14:25:56 +0200
commit0b796bb45919a060b40335728d3cd3bd9596fb5b (patch)
treec1b831d31038f0f54d00d1a853ceb54ed75781a8 /installerbuilder/libinstaller/packagemanagercore.cpp
parent773f17113440c81ef6b7d9998cb75563d062f4f7 (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.cpp4
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