summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/qtpatchoperation.cpp
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-06-14 16:24:50 +0200
committerkh1 <qt-info@nokia.com>2011-06-14 16:24:50 +0200
commit787eb763bd9603c15bc05cff15088426d23c1961 (patch)
tree94069001ff20b65dc2e1d80b2a02bf5c06479431 /installerbuilder/libinstaller/qtpatchoperation.cpp
parent5ed81415ac1d2c2ade8a69203842e82ddd058a4c (diff)
Rename from Installer to PackageManagerCore.
Note: Might break on any other platform than windows, needs some more tests. No break on windows so far...
Diffstat (limited to 'installerbuilder/libinstaller/qtpatchoperation.cpp')
-rw-r--r--installerbuilder/libinstaller/qtpatchoperation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/installerbuilder/libinstaller/qtpatchoperation.cpp b/installerbuilder/libinstaller/qtpatchoperation.cpp
index d2909fe77..f47966ddf 100644
--- a/installerbuilder/libinstaller/qtpatchoperation.cpp
+++ b/installerbuilder/libinstaller/qtpatchoperation.cpp
@@ -308,14 +308,14 @@ bool QtPatchOperation::performOperation()
#ifdef Q_OS_MAC
Relocator relocator;
bool successMacRelocating = false;
- const Installer* const installer = qVariantValue<Installer*>(value(QLatin1String("installer")));
- if (!installer) {
+ PackageManagerCore *const core = qVariantValue<PackageManagerCore*>(value(QLatin1String("installer")));
+ if (!core) {
setError(UserDefinedError);
setErrorString(tr("Needed installer object in \"%1\" operation is empty.").arg(name()));
return false;
}
- Q_CHECK_PTR(installer);
- successMacRelocating = relocator.apply(newQtPathStr, installer->value(scTargetDir));
+ Q_CHECK_PTR(core);
+ successMacRelocating = relocator.apply(newQtPathStr, core->value(scTargetDir));
if (!successMacRelocating)
{
setError(UserDefinedError);