diff options
Diffstat (limited to 'src/sdk/updatechecker.cpp')
-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")); |