aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/qmlprofilerextension/pixmapcachemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/qmlprofilerextension/pixmapcachemodel.cpp')
-rw-r--r--plugins/qmlprofilerextension/pixmapcachemodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/qmlprofilerextension/pixmapcachemodel.cpp b/plugins/qmlprofilerextension/pixmapcachemodel.cpp
index 95a126208f..def302e475 100644
--- a/plugins/qmlprofilerextension/pixmapcachemodel.cpp
+++ b/plugins/qmlprofilerextension/pixmapcachemodel.cpp
@@ -155,7 +155,7 @@ void PixmapCacheModel::PixmapCacheModelPrivate::addVP(QVariantList &l, QString l
{
if (time > 0) {
QVariantMap res;
- res.insert(label, QVariant(QmlProfilerSimpleModel::formatTime(time)));
+ res.insert(label, QVariant(QmlProfilerBaseModel::formatTime(time)));
l << res;
}
}
@@ -207,7 +207,7 @@ void PixmapCacheModel::loadData()
{
Q_D(PixmapCacheModel);
clear();
- QmlProfilerSimpleModel *simpleModel = d->modelManager->simpleModel();
+ QmlProfilerDataModel *simpleModel = d->modelManager->qmlModel();
if (simpleModel->isEmpty())
return;
@@ -216,7 +216,7 @@ void PixmapCacheModel::loadData()
QVector < int > pixmapStartPoints;
QVector < int > pixmapCachePoints;
- foreach (const QmlProfilerSimpleModel::QmlEventData &event, simpleModel->getEvents()) {
+ foreach (const QmlProfilerDataModel::QmlEventData &event, simpleModel->getEvents()) {
if (!eventAccepted(event))
continue;