--- a/eric6/Tools/TrayStarter.py Sun Sep 01 17:44:33 2019 +0200 +++ b/eric6/Tools/TrayStarter.py Sun Sep 01 19:40:53 2019 +0200 @@ -32,12 +32,10 @@ """ Class implementing a starter for the system tray. """ - def __init__(self, usePyQt4, settingsDir): + def __init__(self, settingsDir): """ Constructor - @param usePyQt4 flag indicating to use PyQt4 - @type bool @param settingsDir directory to be used for the settings files @type str """ @@ -45,7 +43,6 @@ UI.PixmapCache.getIcon( Preferences.getTrayStarter("TrayStarterIcon"))) - self.usePyQt4 = usePyQt4 self.settingsDir = settingsDir self.maxMenuFilePathLen = 75 @@ -255,8 +252,6 @@ args = [] args.append(applPath) - if self.usePyQt4: - args.append("--pyqt4") args.append("--config={0}".format(Utilities.getConfigDir())) if self.settingsDir: args.append("--settings={0}".format(self.settingsDir))