forked from qt-creator/qt-creator
		
	Merge QmlProfiler and QmlProfilerExtension plugins
Change-Id: Iaa1de7afda664a7a0779f47d104f863a16a34976 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
		@@ -56,8 +56,6 @@ bool QmlProfilerPlugin::initialize(const QStringList &arguments, QString *errorS
 | 
			
		||||
 | 
			
		||||
void QmlProfilerPlugin::extensionsInitialized()
 | 
			
		||||
{
 | 
			
		||||
    factory = ExtensionSystem::PluginManager::getObject<QmlProfilerTimelineModelFactory>();
 | 
			
		||||
 | 
			
		||||
    (void) new QmlProfilerTool(this);
 | 
			
		||||
 | 
			
		||||
    addAutoReleasedObject(new QmlProfilerRunControlFactory());
 | 
			
		||||
@@ -72,14 +70,6 @@ ExtensionSystem::IPlugin::ShutdownFlag QmlProfilerPlugin::aboutToShutdown()
 | 
			
		||||
    return SynchronousShutdown;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QList<QmlProfilerTimelineModel *> QmlProfilerPlugin::getModels(QmlProfilerModelManager *manager) const
 | 
			
		||||
{
 | 
			
		||||
    if (factory)
 | 
			
		||||
        return factory->create(manager);
 | 
			
		||||
    else
 | 
			
		||||
        return QList<QmlProfilerTimelineModel *>();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QmlProfilerSettings *QmlProfilerPlugin::globalSettings()
 | 
			
		||||
{
 | 
			
		||||
    return qmlProfilerGlobalSettings();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user