aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tutorial/t10.py
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-06-18 13:15:27 +0200
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-06-18 11:52:55 +0000
commit5d88488592f55aa8d81b3256a4e76cfdf1a7f050 (patch)
tree11a197a6fb2b17747edee52bfcd8e2a11e843207 /examples/tutorial/t10.py
parent59694f8bf1c2f81c00d15fffef3060509d2a4b63 (diff)
Remove semicolon from examples
Task-number: PYSIDE-712 Change-Id: Ib91e4fec88bdb7146e54c285c7f4da60deecb6cf Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/tutorial/t10.py')
-rw-r--r--examples/tutorial/t10.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tutorial/t10.py b/examples/tutorial/t10.py
index f49faa1b4..baf3884aa 100644
--- a/examples/tutorial/t10.py
+++ b/examples/tutorial/t10.py
@@ -105,7 +105,7 @@ class CannonField(QtWidgets.QWidget):
if angle < 5:
angle = 5
if angle > 70:
- angle = 70;
+ angle = 70
if self.currentAngle == angle:
return
self.currentAngle = angle
@@ -121,7 +121,7 @@ class CannonField(QtWidgets.QWidget):
force = 0
if self.currentForce == force:
return
- self.currentForce = force;
+ self.currentForce = force
self.emit(QtCore.SIGNAL("forceChanged(int)"), self.currentForce)
def paintEvent(self, event):