aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-06-30 14:37:47 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-02 10:17:58 +0000
commit4e7d4ff86a6d9bc99d279783e82ae2f2880c3004 (patch)
tree451010d74d7667c50b3ca0db861d6ce49c0356b5 /src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp
parent7344c27622781ecee0b03102802ca5c0d7623ac1 (diff)
QmlProfiler: Define a main feature for timeline models
They will be shown and hidden when that feature is enabled or disabled. Change-Id: I42b67bd25729901262298553b118fe2624941789 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp b/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp
index 2cd5dd90bc3..9ae9db62612 100644
--- a/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp
+++ b/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp
@@ -47,12 +47,10 @@ namespace Internal {
QmlProfilerAnimationsModel::QmlProfilerAnimationsModel(QmlProfilerModelManager *manager,
QObject *parent) :
- QmlProfilerTimelineModel(manager,
- tr(QmlProfilerModelManager::featureName(QmlDebug::ProfileAnimations)),
- QmlDebug::Event, QmlDebug::MaximumRangeType, parent)
+ QmlProfilerTimelineModel(manager, QmlDebug::Event, QmlDebug::MaximumRangeType,
+ QmlDebug::ProfileAnimations, parent)
{
m_maxGuiThreadAnimations = m_maxRenderThreadAnimations = 0;
- announceFeatures(1 << QmlDebug::ProfileAnimations);
}
void QmlProfilerAnimationsModel::clear()