Fixed global functions from QT_TR_NOOP and QT_TRANSLATE_NOOP family.
These function just return one of their arguments as result, and the buggy implementation was forgetting to increment the reference count for the returned object. A new unit test was added. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
This commit is contained in:
parent
7771798cf2
commit
3f0291dfe4
4 changed files with 75 additions and 10 deletions
|
|
@ -71,6 +71,7 @@ PYSIDE_TEST(setprop_on_ctor_test.py)
|
|||
PYSIDE_TEST(static_method_test.py)
|
||||
PYSIDE_TEST(static_protected_methods_test.py)
|
||||
PYSIDE_TEST(thread_signals_test.py)
|
||||
PYSIDE_TEST(tr_noop_test.py)
|
||||
PYSIDE_TEST(translation_test.py)
|
||||
PYSIDE_TEST(unaryoperator_test.py)
|
||||
PYSIDE_TEST(unicode_test.py)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue