diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-09-17 22:10:17 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-09-17 22:10:17 -0300 |
commit | 636ca3946e1ec89900a5a509c31b4aafee84af70 (patch) | |
tree | 62ea33fa51c45b141a9a68f037273dfa6321e5a7 /shibokengenerator.cpp | |
parent | 846d5a5482720c37d55be910ec8d696de561a640 (diff) |
ShibokenGenerator::translateTypeForWrapperMethod stoped mixing
references with references to containers
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r-- | shibokengenerator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp index 0b481f317..1311cb8f8 100644 --- a/shibokengenerator.cpp +++ b/shibokengenerator.cpp @@ -152,7 +152,8 @@ QString ShibokenGenerator::translateTypeForWrapperMethod(const AbstractMetaType* { QString result; - if (cType->isValue() || cType->isObject() || cType->isReference()) { + if (cType->isValue() || cType->isObject() + || (cType->isReference() && !cType->isContainer())) { result = cType->typeEntry()->qualifiedCppName(); if (cType->isObject()) result.append('*'); |