diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-03-28 15:40:13 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-04-17 14:11:51 +0000 |
commit | 780d4c6a434c84c7bfdd6b2cf0020891481f7b76 (patch) | |
tree | c47dfeec4f334df2eae8f964de243c30f4f1be23 /src/plugins/qmlprofiler/memoryusagemodel.h | |
parent | 181ad6671ce9e1de04f79eabb2d8af9cc2c36484 (diff) |
Timeline: Move modelId generation into aggregator
The way the notes model works requires every timeline model to have a
different ID. Conversely no other kind of model actually needs an ID.
Therefore it makes sense to have the TimelineModelAggregator manage the
IDs as every timeline model will sooner or later be associated with an
aggregator.
Change-Id: Ib8b2c88ed883351d4e3e156dd13e1dd113c21808
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/memoryusagemodel.h')
-rw-r--r-- | src/plugins/qmlprofiler/memoryusagemodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/memoryusagemodel.h b/src/plugins/qmlprofiler/memoryusagemodel.h index 98ec40f4d5e..65c0d7a528b 100644 --- a/src/plugins/qmlprofiler/memoryusagemodel.h +++ b/src/plugins/qmlprofiler/memoryusagemodel.h @@ -51,7 +51,7 @@ public: void update(qint64 amount); }; - MemoryUsageModel(QmlProfilerModelManager *manager, QObject *parent = 0); + MemoryUsageModel(QmlProfilerModelManager *manager, Timeline::TimelineModelAggregator *parent); qint64 rowMaxValue(int rowNumber) const override; |