summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libs/installer/updater.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/installer/updater.cpp b/src/libs/installer/updater.cpp
index b51b332ed..ae6eaac29 100644
--- a/src/libs/installer/updater.cpp
+++ b/src/libs/installer/updater.cpp
@@ -40,6 +40,7 @@
**************************************************************************/
#include "updater.h"
+#include "productkeycheck.h"
#include "binaryformat.h"
#include "component.h"
#include "init.h"
@@ -77,6 +78,7 @@ bool Updater::checkForUpdates()
PackageManagerCore core(content.magicMarker(), content.performedOperations());
core.setUpdater();
PackageManagerCore::setVirtualComponentsVisible(true);
+ ProductKeyCheck::instance()->init(&core);
if (!core.fetchRemotePackagesTree())
return false;