eric6/eric6_tray.py

branch
without_py2_and_pyqt4
changeset 7198
684261ef2165
parent 7192
a22eee00b052
child 7229
53054eb5b15a
--- a/eric6/eric6_tray.py	Sun Sep 01 17:44:33 2019 +0200
+++ b/eric6/eric6_tray.py	Sun Sep 01 19:40:53 2019 +0200
@@ -17,13 +17,10 @@
 import sys
 import os
 
-PyQt4Option = "--pyqt4" in sys.argv
 SettingsDir = None
 
 sys.path.insert(1, os.path.dirname(__file__))
 
-import Toolbox.PyQt4ImportHook  # __IGNORE_WARNING__
-
 for arg in sys.argv[:]:
     if arg.startswith("--config="):
         import Globals
@@ -52,7 +49,7 @@
     @return reference to the main widget (QWidget)
     """
     from Tools.TrayStarter import TrayStarter
-    return TrayStarter(PyQt4Option, SettingsDir)
+    return TrayStarter(SettingsDir)
 
 
 def main():

eric ide

mercurial