Merge remote-tracking branch 'origin/3.2'

Conflicts:
	plugins/qmlprofilerextension/qmlprofilerextensionplugin.cpp

Change-Id: Ied74b2e97a51bd5ee67864e6dd5c830d57ea3099
This commit is contained in:
Eike Ziller
2014-09-16 15:20:38 +02:00

View File

@@ -1,6 +1,6 @@
/****************************************************************************
**
** 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/>
**
@@ -72,10 +72,12 @@ 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);
addAutoReleasedObject(new InputEventsModel);
if (licenseChecker->enterpriseFeatures()) {
addAutoReleasedObject(new PixmapCacheModel);
addAutoReleasedObject(new SceneGraphTimelineModel);
addAutoReleasedObject(new MemoryUsageModel);
addAutoReleasedObject(new InputEventsModel);
}
} else {
qWarning() << "Invalid license, disabling QML Profiler Enterprise features";
}