diff -r fcd3322bf6ed -r ed2c67d20328 eric6/SqlBrowser/SqlBrowser.py --- a/eric6/SqlBrowser/SqlBrowser.py Tue Oct 06 17:55:10 2020 +0200 +++ b/eric6/SqlBrowser/SqlBrowser.py Tue Oct 06 17:56:16 2020 +0200 @@ -10,12 +10,12 @@ from PyQt5.QtCore import QTimer, QUrl from PyQt5.QtGui import QKeySequence -from PyQt5.QtWidgets import qApp from PyQt5.QtSql import QSqlError, QSqlDatabase from E5Gui.E5Action import E5Action from E5Gui import E5MessageBox from E5Gui.E5MainWindow import E5MainWindow +from E5Gui.E5Application import e5App import UI.PixmapCache import UI.Config @@ -126,7 +126,7 @@ """<b>Quit</b>""" """<p>Quit the SQL browser.</p>""" )) - self.exitAct.triggered.connect(qApp.closeAllWindows) + self.exitAct.triggered.connect(e5App().closeAllWindows) self.aboutAct = E5Action( self.tr('About'),