Skip to content

Commit

Permalink
Use self.close to be more compatibile with pyqt5.
Browse files Browse the repository at this point in the history
  • Loading branch information
wapiflapi committed Aug 26, 2014
1 parent 7465aae commit 187d299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binglide/gui.py
Expand Up @@ -206,7 +206,7 @@ def initUI(self):

exitAction = QtGui.QAction('Exit', self)
exitAction.setShortcut('Ctrl+Q')
exitAction.triggered.connect(QtGui.qApp.quit)
exitAction.triggered.connect(self.close)

self.addToolBar(toolbar)

Expand Down

0 comments on commit 187d299

Please sign in to comment.