forked from qt-creator/qt-creator
QmlProfiler: Remove accepted() methods
The only place where we used them was handlesTypeId(), and there it was wrong. Each QmlProfilerTimelineModel has exactly one main feature it subscribes to. It might additionally accept events of some auxiliary features for context, but it doesn't really "handle" the respective types in the sense that you could, for example, attach notes to them. Therefore, just checking for the main feature is the right thing to do. Change-Id: If0c00444084b957f3b99d3456cdbf703ae4afc3d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -64,7 +64,6 @@ public:
|
||||
QVariantList labels() const override;
|
||||
QVariantMap details(int index) const override;
|
||||
|
||||
bool accepted(const QmlEventType &type) const override;
|
||||
void loadEvent(const QmlEvent &event, const QmlEventType &type) override;
|
||||
void finalize() override;
|
||||
void clear() override;
|
||||
|
||||
Reference in New Issue
Block a user