summaryrefslogtreecommitdiffstats
path: root/generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generator.cpp')
-rw-r--r--generator.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/generator.cpp b/generator.cpp
index 11b4a95..3798eff 100644
--- a/generator.cpp
+++ b/generator.cpp
@@ -293,12 +293,6 @@ QString Generator::translateType(const AbstractMetaType *cType,
s = "int";
else
s = cType->cppSignature();
- } else if (cType->typeEntry()->isPrimitive()) {
- s = cType->cppSignature();
- if ((options & Generator::ExcludeConst) && cType->isConstant())
- s.remove(0, 5);
- if ((options & Generator::ExcludeReference) && cType->isReference())
- s.chop(1);
} else {
if (options & Generator::OriginalName) {
s = cType->originalTypeDescription().trimmed();