From 787eb763bd9603c15bc05cff15088426d23c1961 Mon Sep 17 00:00:00 2001 From: kh1 Date: Tue, 14 Jun 2011 16:24:50 +0200 Subject: Rename from Installer to PackageManagerCore. Note: Might break on any other platform than windows, needs some more tests. No break on windows so far... --- installerbuilder/libinstaller/qtpatchoperation.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'installerbuilder/libinstaller/qtpatchoperation.cpp') 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(value(QLatin1String("installer"))); - if (!installer) { + PackageManagerCore *const core = qVariantValue(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); -- cgit v1.2.3