aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/inputeventsmodel.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-03-28 15:40:13 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-04-17 14:11:51 +0000
commit780d4c6a434c84c7bfdd6b2cf0020891481f7b76 (patch)
treec47dfeec4f334df2eae8f964de243c30f4f1be23 /src/plugins/qmlprofiler/inputeventsmodel.h
parent181ad6671ce9e1de04f79eabb2d8af9cc2c36484 (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/inputeventsmodel.h')
-rw-r--r--src/plugins/qmlprofiler/inputeventsmodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/inputeventsmodel.h b/src/plugins/qmlprofiler/inputeventsmodel.h
index 0e77893a17..d38350777a 100644
--- a/src/plugins/qmlprofiler/inputeventsmodel.h
+++ b/src/plugins/qmlprofiler/inputeventsmodel.h
@@ -42,7 +42,7 @@ public:
int b;
};
- InputEventsModel(QmlProfilerModelManager *manager, QObject *parent = 0);
+ InputEventsModel(QmlProfilerModelManager *manager, Timeline::TimelineModelAggregator *parent);
bool accepted(const QmlEventType &type) const override;
void loadEvent(const QmlEvent &event, const QmlEventType &type) override;