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<PixmapCacheEvent> data;
|
||||||
QVector<Pixmap> pixmaps;
|
QVector<Pixmap> pixmaps;
|
||||||
int collapsedRowCount;
|
int collapsedRowCount;
|
||||||
void addVP(QVariantList &l, QString label, qint64 time) const;
|
|
||||||
|
|
||||||
qint64 maxCacheSize;
|
qint64 maxCacheSize;
|
||||||
private:
|
private:
|
||||||
@@ -179,15 +178,6 @@ QVariantList PixmapCacheModel::labels() const
|
|||||||
return result;
|
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
|
QVariantMap PixmapCacheModel::details(int index) const
|
||||||
{
|
{
|
||||||
Q_D(const PixmapCacheModel);
|
Q_D(const PixmapCacheModel);
|
||||||
|
Reference in New Issue
Block a user