aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-07-19 15:58:20 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:37 -0300
commitef45b5a924b921628c1bc3fd7fce18c994430208 (patch)
treee2662eeeddce33327e8e59b153c86782875cf7a8 /PySide/QtCore
parentcab3b37b788cef6fdd999bedbe0ced93c9151ae4 (diff)
Fixes bug #910 - installEventFilter() increments reference count on target object.
http://bugs.pyside.org/show_bug.cgi?id=910 Also added/fixed unit tests. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtCore')
-rw-r--r--PySide/QtCore/typesystem_core.xml10
1 files changed, 0 insertions, 10 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 3e4e656d8..b94832ad0 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -1276,16 +1276,6 @@
<define-ownership owner="c++"/>
</modify-argument>
</modify-function>
- <modify-function signature="installEventFilter(QObject*)">
- <inject-code>
- Shiboken::Object::keepReference((SbkObject*)%PYARG_1, "eventFilter", %PYSELF, true);
- </inject-code>
- </modify-function>
- <modify-function signature="removeEventFilter(QObject*)">
- <inject-code>
- Shiboken::Object::removeReference((SbkObject*)%PYARG_1, "eventFilter", %PYSELF);
- </inject-code>
- </modify-function>
<!-- Invalidate-after-use stuff -->
<modify-function signature="childEvent(QChildEvent*)">
<modify-argument index="1" invalidate-after-use="yes"/>