aboutsummaryrefslogtreecommitdiffstats
path: root/examples/async/eratosthenes/eratosthenes_asyncio.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/async/eratosthenes/eratosthenes_asyncio.py')
-rw-r--r--examples/async/eratosthenes/eratosthenes_asyncio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/async/eratosthenes/eratosthenes_asyncio.py b/examples/async/eratosthenes/eratosthenes_asyncio.py
index 54378daae..3f77bdbce 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(), handle_sigint=True)
+ QtAsyncio.run(eratosthenes.start(), qapp=app, handle_sigint=True)