diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 20:01:04 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 20:17:24 -0200 |
commit | 23c1b92073a25e23e2c3bdb2e1a758cfbb64fe79 (patch) | |
tree | adaee02820f58a600e178c9fa0fb7fa1a2618271 /PySide/typesystem_templates.xml | |
parent | 92dcb7ae3a92416b4129d549625eba0512e02426 (diff) |
Changes needed to compile PySide with libshiboken v1.0
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r-- | PySide/typesystem_templates.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml index 576343473..968195fa1 100644 --- a/PySide/typesystem_templates.xml +++ b/PySide/typesystem_templates.xml @@ -182,8 +182,8 @@ %PYARG_0 = Shiboken::makeTuple(retval_, %4); </template> <template name="set_qapp_parent_for_orphan"> - Shiboken::SbkBaseWrapper* _pySelf = reinterpret_cast<Shiboken::SbkBaseWrapper*>(%PYARG_0); - if (!_pySelf->parentInfo) + SbkObject* _pySelf = reinterpret_cast<SbkObject*>(%PYARG_0); + if (!Shiboken::Wrapper::hasParentInfo(_pySelf)) Shiboken::setParent(%CONVERTTOPYTHON[QApplication*](qApp), %PYARG_0); </template> <!-- templates for __reduce__ --> |