From 57e681930f6b4c7c311fc70a66317ef64dee4cb1 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Fri, 30 Apr 2021 17:49:36 +0200 Subject: examples: use exec() instead of exec_() Change-Id: I07dd4339093be8fcc80e63a2ff0448e998356203 Reviewed-by: Friedemann Kleint --- examples/quickcontrols2/gallery/gallery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/quickcontrols2') diff --git a/examples/quickcontrols2/gallery/gallery.py b/examples/quickcontrols2/gallery/gallery.py index 2b3453395..2c123fb7e 100644 --- a/examples/quickcontrols2/gallery/gallery.py +++ b/examples/quickcontrols2/gallery/gallery.py @@ -94,4 +94,4 @@ if __name__ == "__main__": window = rootObjects[0] window.setIcon(QIcon(':/qt-project.org/logos/pysidelogo.png')) - sys.exit(app.exec_()) + sys.exit(app.exec()) -- cgit v1.2.3