summaryrefslogtreecommitdiffstats
path: root/PySide/QtWebKit/typesystem_webkit.xml
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2010-07-09 18:19:26 -0300
committerLuciano Wolf <luciano.wolf@openbossa.org>2010-07-12 16:03:11 -0300
commitbe1073e7728e31281a607313007e817d5e9db2af (patch)
treed5ba6ac7424f791a08dee3bc6a1d510e98782098 /PySide/QtWebKit/typesystem_webkit.xml
parent5cc46f2f1342e085897eefd06eda453e2f28b5bc (diff)
downloadpyside-be1073e7728e31281a607313007e817d5e9db2af.tar.gz
pyside-be1073e7728e31281a607313007e817d5e9db2af.tar.xz
pyside-be1073e7728e31281a607313007e817d5e9db2af.zip
Fix warning on QString* parameter inside QtWebKit.
Reviewer: Renato Ara├║jo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/QtWebKit/typesystem_webkit.xml')
-rw-r--r--PySide/QtWebKit/typesystem_webkit.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/PySide/QtWebKit/typesystem_webkit.xml b/PySide/QtWebKit/typesystem_webkit.xml
index a08b183..845eeb4 100644
--- a/PySide/QtWebKit/typesystem_webkit.xml
+++ b/PySide/QtWebKit/typesystem_webkit.xml
@@ -51,9 +51,13 @@
<modify-argument index="return">
<replace-type modified-type="PyObject"/>
</modify-argument>
+ <modify-argument index="4">
+ <remove-argument />
+ </modify-argument>
<inject-code class="target" position="end">
- %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, %4);
- %PYARG_0 = Shiboken::makeTuple(retval_, %4);
+ QString str;
+ %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, &amp;str);
+ %PYARG_0 = Shiboken::makeTuple(retval_, str);
</inject-code>
</modify-function>
</object-type>