Skip to content
Snippets Groups Projects
Commit 61065b9a authored by Kai Koehne's avatar Kai Koehne
Browse files

Hide features for new "Indie" license

This requires http://qt-gerrit.it.local/#change,6220

 in licensechecker.git

Change-Id: Ia7bc7bcee90d3099805a43106f1f0b695bbf059b
Reviewed-by: default avatarUlf Hermann <ulf.hermann@digia.com>
parent 80d938c6
Branches qp-3.2
Tags qp-v3.2.1 qp-v3.2.2
No related merge requests found
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc
** Copyright (C) 2014 Digia Plc
** All rights reserved.
** For any questions to Digia, please use contact form at http://qt.digia.com <http://qt.digia.com/>
**
......@@ -71,9 +71,11 @@ bool QmlProfilerExtensionPlugin::initialize(const QStringList &arguments, QStrin
= ExtensionSystem::PluginManager::getObject<LicenseChecker::LicenseCheckerPlugin>();
if (licenseChecker && licenseChecker->hasValidLicense()) {
addAutoReleasedObject(new PixmapCacheModel);
addAutoReleasedObject(new SceneGraphTimelineModel);
addAutoReleasedObject(new MemoryUsageModel);
if (licenseChecker->enterpriseFeatures()) {
addAutoReleasedObject(new PixmapCacheModel);
addAutoReleasedObject(new SceneGraphTimelineModel);
addAutoReleasedObject(new MemoryUsageModel);
}
} else {
qWarning() << "Invalid license, disabling QML Profiler Enterprise features";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment