summaryrefslogtreecommitdiff
path: root/src/leap/gui/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/gui/__init__.py')
-rw-r--r--src/leap/gui/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/leap/gui/__init__.py b/src/leap/gui/__init__.py
index 6ecd665f..9b8f8746 100644
--- a/src/leap/gui/__init__.py
+++ b/src/leap/gui/__init__.py
@@ -1,3 +1,10 @@
+try:
+ import sip
+ sip.setapi('QString', 2)
+ sip.setapi('QVariant', 2)
+except ValueError:
+ pass
+
import firstrun
__all__ = ['firstrun']