diff options
author | Ulf Hermann <ulf.hermann@digia.com> | 2014-02-14 13:28:53 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@digia.com> | 2014-02-18 15:48:40 +0200 |
commit | ff75cbda0225e6d0e01c99be825418d1d2479b42 (patch) | |
tree | 2042cc2104af26f0e4b1f3a6a3fb48b961cd4329 /plugins/qmlprofilerextension/pixmapcachemodel.cpp | |
parent | 79ea5d26a6b6e7fe7d57f6287abca4d3d4c569d8 (diff) | |
download | qt-creator-ff75cbda0225e6d0e01c99be825418d1d2479b42.tar.gz |
Eliminate redundant name() methods
Change-Id: Icaa03eee0650481309e073c51b1a5a1b98820b41
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
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(); |