diff options
author | Adrian Herrmann <[email protected]> | 2024-07-03 17:22:07 +0200 |
---|---|---|
committer | Adrian Herrmann <[email protected]> | 2024-07-05 16:09:02 +0200 |
commit | c80f9bccc201bb1392cbba9a92efd719a3133e0b (patch) | |
tree | 1b9477197d087f82dd112c89852b2d912d32957e /examples/async | |
parent | 1ac022a95be69d220ed9fc6ce5832d4a646fbe52 (diff) |
QtAsyncio: Fix wrong args in examples
The minimal and eratosthenes examples kept now-invalid arguments to
QtAsyncio.run() as leftovers from a previous change.
Pick-to: 6.7
Task-number: PYSIDE-769
Change-Id: I64ec3dcf136f44b757ef93743b96aa0a2d8a91be
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'examples/async')
-rw-r--r-- | examples/async/eratosthenes/eratosthenes_asyncio.py | 2 | ||||
-rw-r--r-- | examples/async/minimal/minimal_asyncio.py | 2 |
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) |