forked from qt-creator/qt-creator
QmlProfiler: Don't process all events twice when loading traces
At the end of QmlProfilerFileReader::load() we have a perfectly valid set of types and events which we can just pass on to the model as-is. Change-Id: I6981663f409c4647f4d5ae8a73b5d14cc701017b Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -63,6 +63,8 @@ public:
|
||||
|
||||
const QVector<QmlEventData> &getEvents() const;
|
||||
const QVector<QmlEventTypeData> &getEventTypes() const;
|
||||
void setData(const QVector<QmlEventTypeData> &types, const QVector<QmlEventData> &events);
|
||||
|
||||
int count() const;
|
||||
virtual void clear();
|
||||
virtual bool isEmpty() const;
|
||||
|
||||
Reference in New Issue
Block a user