diff options
author | Friedemann Kleint <[email protected]> | 2020-02-24 16:32:14 +0100 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2020-02-25 13:05:42 +0100 |
commit | 5d34d60418b15d4d6837d0a1333f2b57631309eb (patch) | |
tree | 07bbd5759cb1c4e212d51ffbe994365788623bd3 /examples/opengl/textures | |
parent | ae5d4c59b54de4523f49f00ca8166785ab22fbd8 (diff) |
Examples: Adapt to new qApp variable
Amends d579912b31d7cfa7b0b216916fbbf3eb632a9d9d.
Task-number: PYSIDE-571
Change-Id: Ide49ef2c9f99335b5019daea7d27cd1d86e896a4
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Diffstat (limited to 'examples/opengl/textures')
-rw-r--r-- | examples/opengl/textures/textures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/textures/textures.py b/examples/opengl/textures/textures.py index c8b421749..9730cf078 100644 --- a/examples/opengl/textures/textures.py +++ b/examples/opengl/textures/textures.py @@ -204,7 +204,7 @@ class Window(QtWidgets.QWidget): mainLayout.addWidget(self.glWidgets[i][j], i, j) self.glWidgets[i][j].clicked.connect(self.setCurrentGlWidget) - QtWidgets.qApp.lastWindowClosed.connect(self.glWidgets[i][j].freeGLResources) + qApp.lastWindowClosed.connect(self.glWidgets[i][j].freeGLResources) self.setLayout(mainLayout) |