diff options
Diffstat (limited to 'examples/opengl/textures/textures.py')
-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) |