From 6e48c0e9e2724f393d3e87e50d200c5705b838ee Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Fri, 17 May 2013 10:55:28 +0200 Subject: forward packagemanager core to ProductKeyCheck class - with this the outsourced product key check code can enable, disable or even add repositories Change-Id: I390251b7f3bfa29a6f39a9ac44aa55ec15f780a2 Reviewed-by: Iikka Eklund Reviewed-by: Karsten Heimrich --- src/libs/installer/component.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs/installer/component.cpp') diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp index 36e1df7fe..a4a16eb44 100644 --- a/src/libs/installer/component.cpp +++ b/src/libs/installer/component.cpp @@ -576,7 +576,7 @@ void Component::loadLicenses(const QString &directory, const QHashisValidLicense(fileName)) + if (!ProductKeyCheck::instance(d->m_core)->isValidLicense(fileName)) continue; QFileInfo fileInfo(fileName); -- cgit v1.2.3