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 <christian.kandeler@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Ulf Hermann
2016-08-09 18:39:16 +02:00
parent c7cb98eeb2
commit 7c07774a04

View File

@@ -47,7 +47,7 @@ public:
struct QmlRangeEventStartInstance {
QmlRangeEventStartInstance() :
displayRowExpanded(Constants::QML_MIN_LEVEL),
displayRowExpanded(1),
displayRowCollapsed(Constants::QML_MIN_LEVEL),
bindingLoopHead(-1) {}