summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-02-10 16:39:49 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:53:57 -0300
commit732183f1df8882e9ef05900bc2d874dd789522ce (patch)
treec5f2265d979534bfcfab9a87fb636122a157c04e
parent8d1d3957374b8e31c57c9719083c1dbcce9d3433 (diff)
Increments reference of None object on custom code for QState.addTransition method.
Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
-rw-r--r--PySide/QtCore/typesystem_core.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 85c6e412..4a7aa2e8 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -2825,6 +2825,7 @@
if (PySide::SignalManager::registerMetaMethod(%1, signalName.mid(1).toAscii().data(), QMetaMethod::Signal)) {
%PYARG_0 = %CONVERTTOPYTHON[QSignalTransition*](%CPPSELF->addTransition(%1, %2, %3));
} else {
+ Py_INCREF(Py_None);
%PYARG_0 = Py_None;
}
</inject-code>