Skip to content

Commit

Permalink
Merge pull request #15 from MrLeeh/master
Browse files Browse the repository at this point in the history
Check if QVariant is available in config.py
  • Loading branch information
mfitzp committed Jul 31, 2015
2 parents f2e7201 + 42a9a96 commit 67c3083
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyqtconfig/config.py
Expand Up @@ -19,6 +19,11 @@
except ImportError:
import xml.etree.ElementTree as et

try:
QVariant
except NameError:
QVariant = None

RECALCULATE_ALL = 1
RECALCULATE_VIEW = 2

Expand Down

0 comments on commit 67c3083

Please sign in to comment.