forked from qt-creator/qt-creator
FlameGraph: Silence some warnings
Apparently those anchors get evaluated before the parent-child relationship is established. Change-Id: I182a7760f3f638bd416af707dff092025d40a9b6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -52,9 +52,9 @@ Item {
|
|||||||
color: Qt.hsla((level % 12) / 72, 0.9 + Math.random() / 10,
|
color: Qt.hsla((level % 12) / 72, 0.9 + Math.random() / 10,
|
||||||
0.45 + Math.random() / 10, 0.9 + Math.random() / 10);
|
0.45 + Math.random() / 10, 0.9 + Math.random() / 10);
|
||||||
height: itemHeight;
|
height: itemHeight;
|
||||||
anchors.left: parent.left
|
anchors.left: flamegraphItem.left
|
||||||
anchors.right: parent.right
|
anchors.right: flamegraphItem.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: flamegraphItem.bottom
|
||||||
|
|
||||||
FlameGraphText {
|
FlameGraphText {
|
||||||
id: text
|
id: text
|
||||||
|
Reference in New Issue
Block a user