aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/qmlprofiler/timelinemodelaggregator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/qmlprofiler/timelinemodelaggregator.cpp')
-rw-r--r--plugins/qmlprofiler/timelinemodelaggregator.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/qmlprofiler/timelinemodelaggregator.cpp b/plugins/qmlprofiler/timelinemodelaggregator.cpp
index bfd8c3276ce..42a58821375 100644
--- a/plugins/qmlprofiler/timelinemodelaggregator.cpp
+++ b/plugins/qmlprofiler/timelinemodelaggregator.cpp
@@ -30,6 +30,7 @@
#include "timelinemodelaggregator.h"
#include <QStringList>
#include "qmlprofilertimelinemodelproxy.h"
+#include "qmlprofilerpainteventsmodelproxy.h"
#include <QVariant>
#include "qmlprofilerplugin.h"
@@ -72,6 +73,11 @@ void TimelineModelAggregator::setModelManager(QmlProfilerModelManager *modelMana
// connect(modelManager,SIGNAL(stateChanged()),this,SLOT(dataChanged()));
// connect(modelManager,SIGNAL(countChanged()),this,SIGNAL(countChanged()));
// d->modelList << new BasicTimelineModel(modelManager, this);
+
+ PaintEventsModelProxy *paintEventsModelProxy = new PaintEventsModelProxy(this);
+ paintEventsModelProxy->setModelManager(modelManager);
+ addModel(paintEventsModelProxy);
+
BasicTimelineModel *basicTimelineModel = new BasicTimelineModel(this);
basicTimelineModel->setModelManager(modelManager);
addModel(basicTimelineModel);