From 1ff9c71b6508a6c0e757b630000fd6cdca83f746 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 16 Sep 2016 15:28:56 +0200 Subject: [PATCH] QmlProfiler: Announce correct features from memory usage model ... and make the test pass again this way. Change-Id: I0854688095af4385c4f57e113e3af03cca22e39f Reviewed-by: Kai Koehne --- src/plugins/qmlprofiler/memoryusagemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmlprofiler/memoryusagemodel.cpp b/src/plugins/qmlprofiler/memoryusagemodel.cpp index 3a30dd7320a..82435d3089b 100644 --- a/src/plugins/qmlprofiler/memoryusagemodel.cpp +++ b/src/plugins/qmlprofiler/memoryusagemodel.cpp @@ -36,7 +36,7 @@ MemoryUsageModel::MemoryUsageModel(QmlProfilerModelManager *manager, QObject *pa QmlProfilerTimelineModel(manager, MemoryAllocation, MaximumRangeType, ProfileMemory, parent) { // Announce additional features. The base class already announces the main feature. - announceFeatures(Constants::QML_JS_RANGE_FEATURES ^ (1 << Compiling)); + announceFeatures(Constants::QML_JS_RANGE_FEATURES ^ (1 << ProfileCompiling)); } int MemoryUsageModel::rowMaxValue(int rowNumber) const