diff options
Diffstat (limited to 'examples/opengl/hellogl2/window.py')
-rw-r--r-- | examples/opengl/hellogl2/window.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/hellogl2/window.py b/examples/opengl/hellogl2/window.py index a12636051..ad61d2f97 100644 --- a/examples/opengl/hellogl2/window.py +++ b/examples/opengl/hellogl2/window.py @@ -11,7 +11,7 @@ from glwidget import GLWidget def _main_window(): - for t in qApp.topLevelWidgets(): + for t in qApp.topLevelWidgets(): # noqa: F821 if isinstance(t, QMainWindow): return t return None |