eric6/Tools/TrayStarter.py

branch
without_py2_and_pyqt4
changeset 7198
684261ef2165
parent 7196
ab0a91b82b37
child 7229
53054eb5b15a
diff -r 331569d44b19 -r 684261ef2165 eric6/Tools/TrayStarter.py
--- 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))

eric ide

mercurial