diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-09-18 15:54:29 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-09-18 15:54:29 -0300 |
commit | 8b1169b3d41890ef7da08b7f6f28ed9ba791fac8 (patch) | |
tree | ee79c873104d3b81db16de384a8c15b03c3bd773 /shibokengenerator.cpp | |
parent | 2a26c34da5984bcfc31ec853c79d0b3081edb8d5 (diff) |
Shiboken now fixes the conversions and calls passing Object Types by value
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r-- | shibokengenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp index 1311cb8f8..fdb03b6b1 100644 --- a/shibokengenerator.cpp +++ b/shibokengenerator.cpp @@ -155,7 +155,7 @@ QString ShibokenGenerator::translateTypeForWrapperMethod(const AbstractMetaType* if (cType->isValue() || cType->isObject() || (cType->isReference() && !cType->isContainer())) { result = cType->typeEntry()->qualifiedCppName(); - if (cType->isObject()) + if (cType->isObject() || cType->isQObject()) result.append('*'); } else if (cType->isArray()) { result = translateTypeForWrapperMethod(cType->arrayElementType(), context) + "[]"; |