diff options
author | Niels Weber <niels.weber@theqtcompany.com> | 2015-04-14 08:23:24 +0200 |
---|---|---|
committer | Niels Weber <niels.weber@theqtcompany.com> | 2015-04-14 08:07:16 +0000 |
commit | 31b0637b4a1ce19c0d7698626493c199bb007adb (patch) | |
tree | 376b8d16239280d146f796433ae08003e85da8d2 /src | |
parent | c50057901bb5f5c15bee860fed256996f89cd990 (diff) |
Fix updatecheck
Check for installermarker was the wrong way around.
Change-Id: Id87cbc61d0bdb269eddc8377e5c775bc12c01174
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/sdk/updatechecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdk/updatechecker.cpp b/src/sdk/updatechecker.cpp index d0b571606..0ecf94ea7 100644 --- a/src/sdk/updatechecker.cpp +++ b/src/sdk/updatechecker.cpp @@ -80,7 +80,7 @@ int UpdateChecker::check() QInstaller::BinaryContent::readBinaryContent(&binary, &operations, &manager, &magicMarker, cookie); - if (magicMarker != QInstaller::BinaryContent::MagicInstallerMarker) + if (magicMarker == QInstaller::BinaryContent::MagicInstallerMarker) throw QInstaller::Error(QLatin1String("Installers cannot check for updates.")); SDKApp::registerMetaResources(manager.collectionByName("QResources")); |