Re: [PyQt] PyQt4.5.2 QVariant.toPyObject() bugged (code included)

2009-07-20 Thread Phil Thompson
On Sun, 19 Jul 2009 11:01:17 -0700 (PDT), Demetrius Cassidy wrote: > For some reason as of 4.5.2, QVariant is behaving much differently than > from > 4.5.1. It seems that if I have a QVariant with a python list or tuple, that > doing toPyObject() on the QVariant object return a python list of > QV

[PyQt] PyQt4.5.2 QVariant.toPyObject() bugged (code included)

2009-07-19 Thread Demetrius Cassidy
For some reason as of 4.5.2, QVariant is behaving much differently than from 4.5.1. It seems that if I have a QVariant with a python list or tuple, that doing toPyObject() on the QVariant object return a python list of QVariants!! This means for each item in my list, I would also need to do a .toP