aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/memoryusagemodel.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-09-09 10:34:39 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-09-14 08:35:17 +0000
commit257d1990c6617bc0a06a552451f30dbec52df846 (patch)
treeefbd54c9a3d786afd35373c658055d5226dd8cea /src/plugins/qmlprofiler/memoryusagemodel.h
parentfbb45e5a578832b47bdad86906a1edcf71875efe (diff)
QmlProfiler: Don't handle type IDs in memory usage model
Events in the memory usage model should not be selected when a type ID is propagated from the statistics or flame graph model. The event in the respective QML/JS model should rather be selected. Change-Id: I6646358650f61c424c607e9dd8edb7fd9a61597e Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/memoryusagemodel.h')
-rw-r--r--src/plugins/qmlprofiler/memoryusagemodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/memoryusagemodel.h b/src/plugins/qmlprofiler/memoryusagemodel.h
index 948395dfaf5..dd978da788a 100644
--- a/src/plugins/qmlprofiler/memoryusagemodel.h
+++ b/src/plugins/qmlprofiler/memoryusagemodel.h
@@ -71,6 +71,7 @@ public:
void loadEvent(const QmlEvent &event, const QmlEventType &type) override;
void finalize() override;
void clear() override;
+ bool handlesTypeId(int typeId) const override;
private:
struct RangeStackFrame {