aboutsummaryrefslogtreecommitdiffstats
path: root/examples/corelib/threads
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2021-04-28 10:39:36 +0200
committerFriedemann Kleint <[email protected]>2021-04-28 12:08:29 +0200
commit1ec4d298984d90672354e7864e35af4100285525 (patch)
treebba17fc66bef715f50d042c40e37e2707b7e5c8a /examples/corelib/threads
parent29edb488705c1498f67ff7c1958b27d617136da0 (diff)
Examples: Use new form of super()
Task-number: PYSIDE-1112 Change-Id: Ifcb4da974bdcad7af536404fffdbffc585d3d167 Reviewed-by: Christian Tismer <[email protected]>
Diffstat (limited to 'examples/corelib/threads')
-rw-r--r--examples/corelib/threads/mandelbrot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/corelib/threads/mandelbrot.py b/examples/corelib/threads/mandelbrot.py
index e184d6529..3c6a6af21 100644
--- a/examples/corelib/threads/mandelbrot.py
+++ b/examples/corelib/threads/mandelbrot.py
@@ -77,7 +77,7 @@ class RenderThread(QThread):
rendered_image = Signal(QImage, float)
def __init__(self, parent=None):
- super(RenderThread, self).__init__(parent)
+ super().__init__(parent)
self.mutex = QMutex()
self.condition = QWaitCondition()
@@ -234,7 +234,7 @@ class RenderThread(QThread):
class MandelbrotWidget(QWidget):
def __init__(self, parent=None):
- super(MandelbrotWidget, self).__init__(parent)
+ super().__init__(parent)
self.thread = RenderThread()
self.pixmap = QPixmap()