eric6_tray.py

changeset 6630
bddd12f27a4c
parent 6048
82ad8ec9548c
child 6645
ad476851d7e0
--- a/eric6_tray.py	Fri Dec 14 19:52:38 2018 +0100
+++ b/eric6_tray.py	Sat Dec 15 16:21:38 2018 +0100
@@ -42,16 +42,6 @@
                           SettingsDir)
         sys.argv.remove(arg)
 
-from Globals import qVersionTuple
-if qVersionTuple() < (5, 6, 0):
-    WEBENGINE_AVAILABLE = False
-else:
-    try:
-        from PyQt5 import QtWebEngineWidgets    # __IGNORE_WARNING__
-        WEBENGINE_AVAILABLE = True
-    except ImportError:
-        WEBENGINE_AVAILABLE = False
-
 from Globals import AppInfo
 
 from Toolbox import Startup
@@ -65,7 +55,7 @@
     @return reference to the main widget (QWidget)
     """
     from Tools.TrayStarter import TrayStarter
-    return TrayStarter(PyQt4Option, SettingsDir, webEngine=WEBENGINE_AVAILABLE)
+    return TrayStarter(PyQt4Option, SettingsDir)
 
 
 def main():

eric ide

mercurial