aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/typesystem_templates.xml
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-04-28 14:50:25 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:16 -0300
commit8d6761b93d82f59b8a75af59043eecbbf16ec9c6 (patch)
tree474a4514e05cdeb1410f9ac49581d949b5a48a95 /PySide/typesystem_templates.xml
parentb2ddb6c1cd46f6e56962fd64731aaa6a85a36855 (diff)
Fixed QFileDialog functions which used QString as pointer to return values
Fixes bug #819 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r--PySide/typesystem_templates.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml
index 8d5390b53..5c0f1ef3d 100644
--- a/PySide/typesystem_templates.xml
+++ b/PySide/typesystem_templates.xml
@@ -241,9 +241,9 @@
<template name="return_for_QFileDialog">
%BEGIN_ALLOW_THREADS
- %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, %4, %5, %6);
+ %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, %4, &amp;%5, %6);
%END_ALLOW_THREADS
- %PYARG_0 = Shiboken::makeTuple(retval_, %4);
+ %PYARG_0 = Shiboken::makeTuple(retval_, %5);
</template>
<template name="set_qapp_parent_for_orphan">
SbkObject* _pySelf = reinterpret_cast&lt;SbkObject*&gt;(%PYARG_0);