diff options
Diffstat (limited to 'plugins/qmlprofilerextension/pixmapcachemodel.cpp')
-rw-r--r-- | plugins/qmlprofilerextension/pixmapcachemodel.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/qmlprofilerextension/pixmapcachemodel.cpp b/plugins/qmlprofilerextension/pixmapcachemodel.cpp index f960da15b8..e943150dde 100644 --- a/plugins/qmlprofilerextension/pixmapcachemodel.cpp +++ b/plugins/qmlprofilerextension/pixmapcachemodel.cpp @@ -54,7 +54,8 @@ public: }; PixmapCacheModel::PixmapCacheModel(QObject *parent) - : AbstractTimelineModel(parent), d(new PixmapCacheModelPrivate(this)) + : AbstractTimelineModel(QLatin1String("PixmapCacheTimeLineModel"), parent), + d(new PixmapCacheModelPrivate(this)) { d->collapsedRowCount = 1; d->expandedRowCount = 1; @@ -64,11 +65,6 @@ PixmapCacheModel::~PixmapCacheModel() { } -QString PixmapCacheModel::name() const -{ - return QLatin1String("PixmapCacheTimeLineModel"); -} - int PixmapCacheModel::count() const { return d->count(); |