PyQt 4.5.4, Python 2.6.2
Since version 4.5.2 PyQt is able to accept any Python objects where formerly only QVariants
were allowed. This leads to some problems:
>>> itemModel.data(index, Qt.EditRole)
<Product object at 0xb7ce766c>
>>> index.data(Qt.EditRole)
<QVariant object at 0xb7ce768c>
Is there a possibility to remove this inconsistence?