From 7c07774a04df43765953004b783f1a173e46ceed Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 9 Aug 2016 18:39:16 +0200 Subject: [PATCH] QmlProfiler: Don't use QML_MIN_LEVEL for expanded row number You cannot have a row label on top of the category label, so in expanded mode, the rows have to start at 1. Change-Id: I89e5219355919dcc9003a46f9caf8f017b37e6cf Reviewed-by: Christian Kandeler Reviewed-by: Ulf Hermann --- src/plugins/qmlprofiler/qmlprofilerrangemodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmlprofiler/qmlprofilerrangemodel.h b/src/plugins/qmlprofiler/qmlprofilerrangemodel.h index adc68ee8360..4893cb985fb 100644 --- a/src/plugins/qmlprofiler/qmlprofilerrangemodel.h +++ b/src/plugins/qmlprofiler/qmlprofilerrangemodel.h @@ -47,7 +47,7 @@ public: struct QmlRangeEventStartInstance { QmlRangeEventStartInstance() : - displayRowExpanded(Constants::QML_MIN_LEVEL), + displayRowExpanded(1), displayRowCollapsed(Constants::QML_MIN_LEVEL), bindingLoopHead(-1) {}