diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-08-31 09:50:20 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-08-31 08:14:04 +0000 |
commit | 67b09f513237cff1a2a6b9811ccd208d00423611 (patch) | |
tree | f1da637f2072c3584db0b697cf21dd48d427b116 | |
parent | 0b706608fc93bbedbd525af4fb41f7e5cd6fb5d6 (diff) |
Tracing: Adapt aggregator test to new ctor signature
Change-Id: Ifb94c1e1f14b26aa2bb365cd08d36fa67642ecc7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r-- | tests/auto/tracing/timelinemodelaggregator/tst_timelinemodelaggregator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/tracing/timelinemodelaggregator/tst_timelinemodelaggregator.cpp b/tests/auto/tracing/timelinemodelaggregator/tst_timelinemodelaggregator.cpp index fedd3dfafa..7a964edb5f 100644 --- a/tests/auto/tracing/timelinemodelaggregator/tst_timelinemodelaggregator.cpp +++ b/tests/auto/tracing/timelinemodelaggregator/tst_timelinemodelaggregator.cpp @@ -65,7 +65,8 @@ void tst_TimelineModelAggregator::height() void tst_TimelineModelAggregator::addRemoveModel() { Timeline::TimelineNotesModel notes; - Timeline::TimelineModelAggregator aggregator(¬es); + Timeline::TimelineModelAggregator aggregator; + aggregator.setNotes(¬es); QSignalSpy spy(&aggregator, SIGNAL(modelsChanged())); QCOMPARE(aggregator.notes(), ¬es); |