forked from qt-creator/qt-creator
		
	QmlProfiler: Split AbstractTimelineModel in two classes
We need a general purpose TimelineModel and a specialized QmlProfilerTimelineModel. Change-Id: I2da02d65efa11e160cab5fa9f8a21075beb0e2bf Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
		@@ -32,7 +32,7 @@
 | 
			
		||||
#include "qmlprofilerruncontrolfactory.h"
 | 
			
		||||
 | 
			
		||||
#include "qmlprofilertool.h"
 | 
			
		||||
#include "abstracttimelinemodel.h"
 | 
			
		||||
#include "qmlprofilertimelinemodel.h"
 | 
			
		||||
 | 
			
		||||
#include <analyzerbase/analyzermanager.h>
 | 
			
		||||
#include <extensionsystem/pluginmanager.h>
 | 
			
		||||
@@ -103,7 +103,7 @@ ExtensionSystem::IPlugin::ShutdownFlag QmlProfilerPlugin::aboutToShutdown()
 | 
			
		||||
    return SynchronousShutdown;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QList<AbstractTimelineModel *> QmlProfilerPlugin::getModels(QmlProfilerModelManager *manager) const
 | 
			
		||||
QList<QmlProfilerTimelineModel *> QmlProfilerPlugin::getModels(QmlProfilerModelManager *manager) const
 | 
			
		||||
{
 | 
			
		||||
    return factory->create(manager);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user