Tracing: Adapt aggregator test to new ctor signature

Change-Id: Ifb94c1e1f14b26aa2bb365cd08d36fa67642ecc7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Ulf Hermann
2018-08-31 09:50:20 +02:00
parent 0b706608fc
commit 67b09f5132

View File

@@ -65,7 +65,8 @@ void tst_TimelineModelAggregator::height()
void tst_TimelineModelAggregator::addRemoveModel()
{
Timeline::TimelineNotesModel notes;
Timeline::TimelineModelAggregator aggregator(&notes);
Timeline::TimelineModelAggregator aggregator;
aggregator.setNotes(&notes);
QSignalSpy spy(&aggregator, SIGNAL(modelsChanged()));
QCOMPARE(aggregator.notes(), &notes);