forked from qt-creator/qt-creator
QmlProfiler: Remove pointless QmlProfilerTimelineModel::clear()
Change-Id: Ib0d7f348be11cfdea8d52e1d4aa9ce8a3546517e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -70,11 +70,6 @@ bool QmlProfilerTimelineModel::handlesTypeId(int typeIndex) const
|
|||||||
return accepted(modelManager()->qmlModel()->eventTypes().at(typeIndex));
|
return accepted(modelManager()->qmlModel()->eventTypes().at(typeIndex));
|
||||||
}
|
}
|
||||||
|
|
||||||
void QmlProfilerTimelineModel::clear()
|
|
||||||
{
|
|
||||||
TimelineModel::clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
QmlProfilerModelManager *QmlProfilerTimelineModel::modelManager() const
|
QmlProfilerModelManager *QmlProfilerTimelineModel::modelManager() const
|
||||||
{
|
{
|
||||||
return m_modelManager;
|
return m_modelManager;
|
||||||
|
|||||||
@@ -55,7 +55,6 @@ public:
|
|||||||
|
|
||||||
virtual void loadEvent(const QmlEvent &event, const QmlEventType &type) = 0;
|
virtual void loadEvent(const QmlEvent &event, const QmlEventType &type) = 0;
|
||||||
virtual void finalize() = 0;
|
virtual void finalize() = 0;
|
||||||
void clear();
|
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void dataChanged();
|
void dataChanged();
|
||||||
|
|||||||
Reference in New Issue
Block a user