forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user