eric5_webbrowser.py

changeset 3656
441956d8fce5
parent 3628
deb5973080a9
--- a/eric5_webbrowser.py	Sun Jun 29 14:00:30 2014 +0200
+++ b/eric5_webbrowser.py	Sun Jun 29 20:13:56 2014 +0200
@@ -14,14 +14,12 @@
 
 from __future__ import unicode_literals
 try:  # Only for Py2
-    import sip
-    sip.setapi('QString', 2)
-    sip.setapi('QVariant', 2)
     import Utilities.compatibility_fixes     # __IGNORE_WARNING__
 except (ImportError):
     pass
 
 try:
+    import sip
     sip.setdestroyonexit(False)
 except AttributeError:
     pass

eric ide

mercurial