aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-08-18 14:32:53 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:45 -0300
commit8dd72c2630bba9e18248764c554080dc06fdee5f (patch)
tree36c6f8c060b396d73f5abbd1f3b291576946db45
parent2a26f3560784cc2c939224cf75a49b2a16d91724 (diff)
Updated QtDeclarative's type system.
-rw-r--r--PySide/QtDeclarative/typesystem_declarative.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/PySide/QtDeclarative/typesystem_declarative.xml b/PySide/QtDeclarative/typesystem_declarative.xml
index a72f601bf..56c774eca 100644
--- a/PySide/QtDeclarative/typesystem_declarative.xml
+++ b/PySide/QtDeclarative/typesystem_declarative.xml
@@ -46,7 +46,8 @@
</inject-documentation>
<inject-code class="target">
- %PYARG_0 = %CONVERTTOPYTHON[int](PySide::qmlRegisterType(%1, %2, %3, %4, %5));
+ int %0 = PySide::qmlRegisterType(%ARGUMENT_NAMES);
+ %PYARG_0 = %CONVERTTOPYTHON[int](%0);
</inject-code>
</add-function>