eric6_tray.py

branch
maintenance
changeset 6646
51eefa621de4
parent 6645
ad476851d7e0
diff -r 77189681b787 -r 51eefa621de4 eric6_tray.py
--- a/eric6_tray.py	Sat Dec 01 11:45:24 2018 +0100
+++ b/eric6_tray.py	Thu Jan 10 14:22:59 2019 +0100
@@ -1,7 +1,7 @@
 #!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
-# Copyright (c) 2006 - 2018 Detlev Offenbach <detlev@die-offenbachs.de>
+# Copyright (c) 2006 - 2019 Detlev Offenbach <detlev@die-offenbachs.de>
 #
 
 """
@@ -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