--- a/eric7/Tools/TrayStarter.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/Tools/TrayStarter.py Sat May 22 18:51:46 2021 +0200 @@ -15,8 +15,8 @@ from PyQt6.QtGui import QCursor from PyQt6.QtWidgets import QSystemTrayIcon, QMenu, QDialog, QApplication -from E5Gui import E5MessageBox -from E5Gui.E5Application import e5App +from E5Gui import EricMessageBox +from E5Gui.EricApplication import ericApp import Globals import UI.PixmapCache @@ -192,7 +192,7 @@ self.__menu.addAction( UI.PixmapCache.getIcon("exit"), - self.tr('Quit'), e5App().quit) + self.tr('Quit'), ericApp().quit) def __loadRecentProjects(self): """ @@ -277,7 +277,7 @@ not os.path.isfile(applPath) or not proc.startDetached(sys.executable, args) ): - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr('Process Generation Error'), self.tr( @@ -570,4 +570,4 @@ ) versionText += self.tr("""</table>""") - E5MessageBox.about(None, Program, versionText) + EricMessageBox.about(None, Program, versionText)