diff options
Diffstat (limited to 'examples/opengl')
-rw-r--r-- | examples/opengl/grabber.py | 2 | ||||
-rw-r--r-- | examples/opengl/textures/textures.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/opengl/grabber.py b/examples/opengl/grabber.py index c376ab7ae..d4b625718 100644 --- a/examples/opengl/grabber.py +++ b/examples/opengl/grabber.py @@ -370,7 +370,7 @@ class MainWindow(QtWidgets.QMainWindow): self.aboutAct = QtWidgets.QAction("&About", self, triggered=self.about) self.aboutQtAct = QtWidgets.QAction("About &Qt", self, - triggered=QtWidgets.qApp.aboutQt) + triggered=qApp.aboutQt) def createMenus(self): self.fileMenu = self.menuBar().addMenu("&File") 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) |