diff options
4 files changed, 4 insertions, 14 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(); diff --git a/plugins/qmlprofilerextension/pixmapcachemodel.h b/plugins/qmlprofilerextension/pixmapcachemodel.h index a73f21be16..c2ef9aa1cd 100644 --- a/plugins/qmlprofilerextension/pixmapcachemodel.h +++ b/plugins/qmlprofilerextension/pixmapcachemodel.h @@ -60,7 +60,6 @@ public: // void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager); - QString name() const; int count() const; bool isEmpty() const; diff --git a/plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp b/plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp index 559fd441d0..2b2aabb7c4 100644 --- a/plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp +++ b/plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp @@ -64,7 +64,8 @@ public: }; SceneGraphTimelineModel::SceneGraphTimelineModel(QObject *parent) - : AbstractTimelineModel(parent), d(new SceneGraphTimelineModelPrivate(this)) + : AbstractTimelineModel(QLatin1String("SceneGraphTimeLineModel"), parent), + d(new SceneGraphTimelineModelPrivate(this)) { } @@ -72,11 +73,6 @@ SceneGraphTimelineModel::~SceneGraphTimelineModel() { } -QString SceneGraphTimelineModel::name() const -{ - return QLatin1String("SceneGraphTimeLineModel"); -} - int SceneGraphTimelineModel::count() const { return d->count(); diff --git a/plugins/qmlprofilerextension/scenegraphtimelinemodel.h b/plugins/qmlprofilerextension/scenegraphtimelinemodel.h index 87421423be..6f2da1bfc8 100644 --- a/plugins/qmlprofilerextension/scenegraphtimelinemodel.h +++ b/plugins/qmlprofilerextension/scenegraphtimelinemodel.h @@ -48,7 +48,6 @@ public: // void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager); - QString name() const; int count() const; bool isEmpty() const; |