diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-09-23 10:22:49 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-09-23 10:24:17 +0200 |
commit | 33d104723a02297ffef53020d42b789284699534 (patch) | |
tree | 89b9c27a62d7102d26445c341a484d5b73658663 /examples/graphicsview/elasticnodes/node.cpp | |
parent | 6d3764ee563db117d03b9c759e491b70a3c1df7d (diff) | |
download | qt4-tools-33d104723a02297ffef53020d42b789284699534.tar.gz |
Paint arrow on top of node, not underneath it
It looked strange that the node and its drop shadow was painted on top
of the arrow. Flip the z-axis around to make sure the arrow is painted
on top.
Task-number: QTBUG-4544
Reviewed-by: Gunnar
Diffstat (limited to 'examples/graphicsview/elasticnodes/node.cpp')
-rw-r--r-- | examples/graphicsview/elasticnodes/node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graphicsview/elasticnodes/node.cpp b/examples/graphicsview/elasticnodes/node.cpp index 3a218e7cbc..b878011a6d 100644 --- a/examples/graphicsview/elasticnodes/node.cpp +++ b/examples/graphicsview/elasticnodes/node.cpp @@ -53,7 +53,7 @@ Node::Node(GraphWidget *graphWidget) { setFlag(ItemIsMovable); setCacheMode(DeviceCoordinateCache); - setZValue(1); + setZValue(-1); } void Node::addEdge(Edge *edge) |