forked from qt-creator/qt-creator
Remove unused addVP() method from PixmapCacheModel
Change-Id: I31c8eea2b9e21247e83ef0e5d23b0b568b1f177c Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user