summaryrefslogtreecommitdiffstats
path: root/src/sdk
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-07-11 15:36:38 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-07-15 11:37:07 +0200
commit5a3063968c21be4522f3cc5bfd9d1471cc4d57c2 (patch)
treea6930edf0ec7ba9316e4cc151c684396e5989eeb /src/sdk
parent62ef1132ae0775dae628b45f2642c25b19b740a5 (diff)
Make the marker and the find function class members.
Prepare for QTIFW-292 and QTIFW-345. Change-Id: I065366742d28e72bc5ae55e70eabf6532b809fea Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'src/sdk')
-rw-r--r--src/sdk/updatechecker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdk/updatechecker.cpp b/src/sdk/updatechecker.cpp
index f67de1dbd..60587942e 100644
--- a/src/sdk/updatechecker.cpp
+++ b/src/sdk/updatechecker.cpp
@@ -68,10 +68,10 @@ int UpdateChecker::check(int argc, char *argv[])
const QInstaller::BinaryContent content =
QInstaller::BinaryContent::readAndRegisterFromBinary(app.binaryFile());
- if (content.magicMarker() != QInstaller::MagicInstallerMarker)
+ if (content.magicMarker() != QInstaller::BinaryContent::MagicInstallerMarker)
throw QInstaller::Error(QLatin1String("Installers cannot check for updates."));
- QInstaller::PackageManagerCore core(QInstaller::MagicUpdaterMarker, content
+ QInstaller::PackageManagerCore core(QInstaller::BinaryContent::MagicUpdaterMarker, content
.performedOperations());
ProductKeyCheck::instance()->init(&core);
QInstaller::PackageManagerCore::setVirtualComponentsVisible(true);