aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/async/eratosthenes/eratosthenes_asyncio.py2
-rw-r--r--examples/async/minimal/minimal_asyncio.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/async/eratosthenes/eratosthenes_asyncio.py b/examples/async/eratosthenes/eratosthenes_asyncio.py
index 3f77bdbce..54378daae 100644
--- a/examples/async/eratosthenes/eratosthenes_asyncio.py
+++ b/examples/async/eratosthenes/eratosthenes_asyncio.py
@@ -132,4 +132,4 @@ if __name__ == "__main__":
main_window.show()
- QtAsyncio.run(eratosthenes.start(), qapp=app, handle_sigint=True)
+ QtAsyncio.run(eratosthenes.start(), handle_sigint=True)
diff --git a/examples/async/minimal/minimal_asyncio.py b/examples/async/minimal/minimal_asyncio.py
index 7c4952e5c..7ffd5030f 100644
--- a/examples/async/minimal/minimal_asyncio.py
+++ b/examples/async/minimal/minimal_asyncio.py
@@ -38,4 +38,4 @@ if __name__ == "__main__":
main_window = MainWindow()
main_window.show()
- QtAsyncio.run(qapp=app, handle_sigint=True)
+ QtAsyncio.run(handle_sigint=True)