summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-08-18 14:32:53 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-08-18 14:36:49 -0300
commit660e5e29664d4e4a13cc27e57e29963624243f7a (patch)
tree82698dacfdd5be37be84c1100f1818d2b144f47d
parentf4e0aae844b6d204aa58fed9f7d3c864b30f306c (diff)
downloadpyside-660e5e29664d4e4a13cc27e57e29963624243f7a.tar.gz
pyside-660e5e29664d4e4a13cc27e57e29963624243f7a.tar.xz
pyside-660e5e29664d4e4a13cc27e57e29963624243f7a.zip
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 a72f601..56c774e 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>