From ee80967d2426d650b6d3a19ba4174976e9a6aaa1 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Thu, 3 Feb 2011 18:18:32 -0200 Subject: [PATCH] QPersistentModelIndex now have the same implementation of internalPointer of QModelIndex. --- PySide/QtCore/typesystem_core.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index 9dceb7f..7b40168 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -920,8 +920,16 @@ - - + + + %PYARG_0 = (PyObject*)%CPPSELF.%FUNCTION_NAME(); + if (!%PYARG_0) + %PYARG_0 = Py_None; + Py_XINCREF(%PYARG_0); + + + +