From 31173b011820f13969ea884ef80c2ac17c6c4231 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Mon, 9 Dec 2013 16:15:22 +0100 Subject: add missing ProductKeyCheck::init at checkupdates case Change-Id: Ic1f7977f90a507c2b4dc3dbc1d08a525b12e5ed7 Reviewed-by: Kai Koehne --- src/libs/installer/updater.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit v1.2.3