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>
This commit is contained in:
parent
c3d180fdc2
commit
8eb529bda3
1 changed files with 1 additions and 0 deletions
|
|
@ -2833,6 +2833,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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue