diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-05-12 18:59:48 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:21 -0300 |
commit | 93ea992d35224a28a70c3c189366b5c4c8ed85fc (patch) | |
tree | e4d078d3429c85c8cdf51815b76d43e9d3bbd155 /PySide | |
parent | eca2d3cd6daaaa88b783efd33dc36c7df1cf73bd (diff) |
Fix QGraphicsItem compilation on Qt4.5.
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index 6e7fb1c4f..d4c53b75d 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -3297,7 +3297,7 @@ <modify-function signature="destroyItemGroup(QGraphicsItemGroup*)"> <inject-code> - Shiboken::AutoDecRef parent(%CONVERTTOPYTHON[QGraphicsItem*](%1->parentObject())); + Shiboken::AutoDecRef parent(%CONVERTTOPYTHON[QGraphicsItem*](%1->parentItem())); foreach (QGraphicsItem* item, %1->children()) Shiboken::Object::setParent(parent, %CONVERTTOPYTHON[QGraphicsItem*](item)); %BEGIN_ALLOW_THREADS |