diff options
author | Ulf Hermann <ulf.hermann@digia.com> | 2014-02-18 18:34:43 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@digia.com> | 2014-02-19 16:57:39 +0200 |
commit | c55dbf2e7a6412df815ac8b2462c8268b8438d1c (patch) | |
tree | 64ce63444d02dbe0491d9e53af1ad4ec78086cb3 /plugins/qmlprofilerextension/pixmapcachemodel.cpp | |
parent | b1bc443f5cbb4d88b577d2bccbd05c16e02bc674 (diff) |
Adapt to unified data models in creatorqp-v3.1.0-beta1
Change-Id: I08991a79d5cc70bb374ecaa8d5b707962403cee7
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'plugins/qmlprofilerextension/pixmapcachemodel.cpp')
-rw-r--r-- | plugins/qmlprofilerextension/pixmapcachemodel.cpp | 6 |
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; |