forked from qt-creator/qt-creator
QmlProfiler: Announce correct features from memory usage model
... and make the test pass again this way. Change-Id: I0854688095af4385c4f57e113e3af03cca22e39f Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user