summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-07-09 14:36:30 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-09-08 11:24:43 +0300
commit56f46c1d30cc0a10125f205ac87fed1c339ae3bf (patch)
treeee0f6265496d879fbd9d3593c3280747e997b41e
parentfe07078373fddf6a9c028d080e26e283c865651e (diff)
downloadqt-creator-56f46c1d30cc0a10125f205ac87fed1c339ae3bf.tar.gz
Remove unused addVP() method from PixmapCacheModel
Change-Id: I31c8eea2b9e21247e83ef0e5d23b0b568b1f177c Reviewed-by: Kai Koehne <kai.koehne@digia.com>
-rw-r--r--plugins/qmlprofilerextension/pixmapcachemodel.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/qmlprofilerextension/pixmapcachemodel.cpp b/plugins/qmlprofilerextension/pixmapcachemodel.cpp
index 79d9c728f3..04d802d3ac 100644
--- a/plugins/qmlprofilerextension/pixmapcachemodel.cpp
+++ b/plugins/qmlprofilerextension/pixmapcachemodel.cpp
@@ -73,7 +73,6 @@ public:
QVector<PixmapCacheEvent> data;
QVector<Pixmap> pixmaps;
int collapsedRowCount;
- void addVP(QVariantList &l, QString label, qint64 time) const;
qint64 maxCacheSize;
private:
@@ -179,15 +178,6 @@ QVariantList PixmapCacheModel::labels() const
return result;
}
-void PixmapCacheModel::PixmapCacheModelPrivate::addVP(QVariantList &l, QString label, qint64 time) const
-{
- if (time > 0) {
- QVariantMap res;
- res.insert(label, QVariant(QmlProfilerBaseModel::formatTime(time)));
- l << res;
- }
-}
-
QVariantMap PixmapCacheModel::details(int index) const
{
Q_D(const PixmapCacheModel);