Fix QGraphicsItem compilation on Qt4.5.
This commit is contained in:
parent
eca2d3cd6d
commit
93ea992d35
1 changed files with 1 additions and 1 deletions
|
|
@ -3297,7 +3297,7 @@
|
||||||
|
|
||||||
<modify-function signature="destroyItemGroup(QGraphicsItemGroup*)">
|
<modify-function signature="destroyItemGroup(QGraphicsItemGroup*)">
|
||||||
<inject-code>
|
<inject-code>
|
||||||
Shiboken::AutoDecRef parent(%CONVERTTOPYTHON[QGraphicsItem*](%1->parentObject()));
|
Shiboken::AutoDecRef parent(%CONVERTTOPYTHON[QGraphicsItem*](%1->parentItem()));
|
||||||
foreach (QGraphicsItem* item, %1->children())
|
foreach (QGraphicsItem* item, %1->children())
|
||||||
Shiboken::Object::setParent(parent, %CONVERTTOPYTHON[QGraphicsItem*](item));
|
Shiboken::Object::setParent(parent, %CONVERTTOPYTHON[QGraphicsItem*](item));
|
||||||
%BEGIN_ALLOW_THREADS
|
%BEGIN_ALLOW_THREADS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue