aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/animation/animatedtiles/animatedtiles.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/animation/animatedtiles/animatedtiles.py')
-rw-r--r--examples/widgets/animation/animatedtiles/animatedtiles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/animation/animatedtiles/animatedtiles.py b/examples/widgets/animation/animatedtiles/animatedtiles.py
index b621ec117..fe524361d 100644
--- a/examples/widgets/animation/animatedtiles/animatedtiles.py
+++ b/examples/widgets/animation/animatedtiles/animatedtiles.py
@@ -95,7 +95,7 @@ class Button(QGraphicsWidget):
painter.drawEllipse(r.adjusted(5, 5, -5, -5))
painter.drawPixmap(-self._pix.width() / 2, -self._pix.height() / 2,
- self._pix)
+ self._pix)
def mousePressEvent(self, ev):
self.pressed.emit()
@@ -172,7 +172,7 @@ if __name__ == '__main__':
# Random.
random_state.assignProperty(item, 'pos',
QPointF(-250 + generator.bounded(0, 500),
- -250 + generator.bounded(0, 500)))
+ -250 + generator.bounded(0, 500)))
# Tiled.
tiled_state.assignProperty(item, 'pos',