diff options
author | Simo Fält <simo.falt@qt.io> | 2022-09-01 08:15:19 +0300 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2022-09-01 08:15:19 +0300 |
commit | 789fc5d65d2e0ba95cda25e63f74dd4def87a775 (patch) | |
tree | 28019fcbb368b64fad68d930a2587ee22092d71b /examples/widgets/graphicsview/elasticnodes/elasticnodes.py | |
parent | 54a301d83910a760ff7f7aa5bea1e3c3d7226bc8 (diff) | |
parent | 0ad10f40c9cdbe6d054b6e7ffd60d14846a1d4aa (diff) |
Merge remote-tracking branch 'origin/6.3' into wip/6.3_pypy
Change-Id: I049daa7bbac16b4cf680dc60d65553277064b231
Diffstat (limited to 'examples/widgets/graphicsview/elasticnodes/elasticnodes.py')
-rw-r--r-- | examples/widgets/graphicsview/elasticnodes/elasticnodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/graphicsview/elasticnodes/elasticnodes.py b/examples/widgets/graphicsview/elasticnodes/elasticnodes.py index 8d0fcf0f3..201c35f0a 100644 --- a/examples/widgets/graphicsview/elasticnodes/elasticnodes.py +++ b/examples/widgets/graphicsview/elasticnodes/elasticnodes.py @@ -167,7 +167,7 @@ class Node(QGraphicsItem): self._new_pos = QPointF() self.setFlag(QGraphicsItem.ItemIsMovable) self.setFlag(QGraphicsItem.ItemSendsGeometryChanges) - self.setCacheMode(self.DeviceCoordinateCache) + self.setCacheMode(QGraphicsItem.DeviceCoordinateCache) self.setZValue(-1) def item_type(self): |