diff options
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index 6aaded3af..ca36ba518 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -1691,8 +1691,7 @@ <remove-argument /> </modify-argument> <inject-code class="target"> - // %FUNCTION_NAME() - avoid generation of default function call - %PYARG_0 = %CONVERTTOPYTHON[QByteArray](QByteArray(%1)); + %PYARG_0 = %CONVERTTOPYTHON[QByteArray](%CPPSELF.%FUNCTION_NAME(PyString_AS_STRING(%PYARG_1), PyString_GET_SIZE(%PYARG_1))); </inject-code> </modify-function> <modify-function signature="toDouble(bool*)const"> |