forked from qt-creator/qt-creator
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:
@@ -47,7 +47,7 @@ public:
|
|||||||
|
|
||||||
struct QmlRangeEventStartInstance {
|
struct QmlRangeEventStartInstance {
|
||||||
QmlRangeEventStartInstance() :
|
QmlRangeEventStartInstance() :
|
||||||
displayRowExpanded(Constants::QML_MIN_LEVEL),
|
displayRowExpanded(1),
|
||||||
displayRowCollapsed(Constants::QML_MIN_LEVEL),
|
displayRowCollapsed(Constants::QML_MIN_LEVEL),
|
||||||
bindingLoopHead(-1) {}
|
bindingLoopHead(-1) {}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user