QmlProfiler: Move bindingLoopsDest() into QmlProfilerRangeModel

It's the only class that overrode it.

Change-Id: I15aa8177571e2eda6016e3aa16302fcbe94c3f11
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Ulf Hermann
2016-07-13 10:09:51 +02:00
parent 7c4542c43c
commit 55c26025f0
3 changed files with 2 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ public:
Q_INVOKABLE int expandedRow(int index) const override;
Q_INVOKABLE int collapsedRow(int index) const override;
int bindingLoopDest(int index) const override;
int bindingLoopDest(int index) const;
QColor color(int index) const override;
QVariantList labels() const override;

View File

@@ -112,12 +112,6 @@ void QmlProfilerTimelineModel::onVisibleFeaturesChanged(quint64 features)
setHidden(!(features & (1ULL << m_mainFeature)));
}
int QmlProfilerTimelineModel::bindingLoopDest(int index) const
{
Q_UNUSED(index);
return -1;
}
QVariantMap QmlProfilerTimelineModel::locationFromTypeId(int index) const
{
QVariantMap result;

View File

@@ -50,7 +50,7 @@ public:
virtual bool accepted(const QmlEventType &type) const;
bool handlesTypeId(int typeId) const;
Q_INVOKABLE virtual int bindingLoopDest(int index) const;
QVariantMap locationFromTypeId(int index) const;
virtual void loadEvent(const QmlEvent &event, const QmlEventType &type) = 0;