diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-06-03 17:44:52 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-06-06 17:46:21 -0300 |
commit | 75cffde7e51646e6e5561384caacb4a1932005cf (patch) | |
tree | bdcd240156b8c3771a84c526e86a8aeb60b0eee6 | |
parent | eca2d705206483d04cfa7b24b51459f3d266f457 (diff) |
Fix bug 501 - "Shiboken generator doesn't use full qualified name (with :: prefix) on all places."
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
-rw-r--r-- | generator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generator.cpp b/generator.cpp index d1e89fd..737f596 100644 --- a/generator.cpp +++ b/generator.cpp @@ -319,6 +319,8 @@ QString Generator::translateType(const AbstractMetaType *cType, copyType->setReference(false); s = copyType->cppSignature(); + if (!copyType->typeEntry()->isCppPrimitive()) + s.prepend("::"); delete copyType; } else { s = cType->cppSignature(); |