aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tutorial/t13.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/t13.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/t13.py')
-rw-r--r--examples/tutorial/t13.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tutorial/t13.py b/examples/tutorial/t13.py
index a26db0734..706b8a52c 100644
--- a/examples/tutorial/t13.py
+++ b/examples/tutorial/t13.py
@@ -139,7 +139,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
@@ -155,7 +155,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)
@QtCore.Slot()
@@ -229,7 +229,7 @@ class CannonField(QtWidgets.QWidget):
self.paintTarget(painter)
def paintShot(self, painter):
- painter.setPen(QtCore.Qt.NoPen);
+ painter.setPen(QtCore.Qt.NoPen)
painter.setBrush(QtCore.Qt.black)
painter.drawRect(self.shotRect())