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:
Ulf Hermann
2017-11-22 10:52:17 +01:00
parent 1e49ac3041
commit 64288955f0

View File

@@ -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