diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-12-17 19:37:35 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:48:01 -0300 |
commit | 7771798cf27896c43054699c5f53468cd8bf14cf (patch) | |
tree | 1115cf02ac1b8c88ee14d24fca96c17d2831f44c /tests/pysidetest/typesystem_pysidetest.xml | |
parent | 05d011ccfa3ad442adb3639f9db87d49dd346299 (diff) |
Fixes bug #502.
The ownership of the editor returned by the Python override of
QAbstractItemDelegate.createEditor(...) is now transferred to C++.
A test was added to simulate the situation that triggers the bug,
instead of relying on an example with a view, model and editable cells.
See: http://bugs.openbossa.org/show_bug.cgi?id=502
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'tests/pysidetest/typesystem_pysidetest.xml')
-rw-r--r-- | tests/pysidetest/typesystem_pysidetest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pysidetest/typesystem_pysidetest.xml b/tests/pysidetest/typesystem_pysidetest.xml index cf7774ac6..9cc413039 100644 --- a/tests/pysidetest/typesystem_pysidetest.xml +++ b/tests/pysidetest/typesystem_pysidetest.xml @@ -1,6 +1,7 @@ <?xml version="1.0"?> <typesystem package="testbinding"> <load-typesystem name="typesystem_core.xml" generate="no" /> + <load-typesystem name="typesystem_gui.xml" generate="no"/> <object-type name="TestObject" /> <object-type name="TestView" > <modify-function signature="TestView(QAbstractListModel*,QObject*)"> |