From 3029049140ffd2d61c96f91976fefcbea63b64e2 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 26 Aug 2010 13:04:54 +0200 Subject: switch to QVariant API 2 i.e., remove all explicite usage of QVariant --- nephilim.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nephilim.py') diff --git a/nephilim.py b/nephilim.py index aa86fe6..32c868f 100755 --- a/nephilim.py +++ b/nephilim.py @@ -26,7 +26,8 @@ from traceback import print_exc from optparse import OptionParser try: import sip - sip.setapi('QString', 2) + sip.setapi('QString', 2) + sip.setapi('QVariant', 2) from PyQt4 import QtGui except ImportError: sys.exit('PyQt4 not found. Ensure that it is installed.') -- cgit v1.2.3