aboutsummaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
Diffstat (limited to 'generator')
-rw-r--r--generator/cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/cppgenerator.cpp b/generator/cppgenerator.cpp
index ce0a80454..d4648b371 100644
--- a/generator/cppgenerator.cpp
+++ b/generator/cppgenerator.cpp
@@ -1522,7 +1522,7 @@ void CppGenerator::writeErrorSection(QTextStream& s, OverloadData& overloadData)
const PrimitiveTypeEntry* ptp = reinterpret_cast<const PrimitiveTypeEntry*>(argType->typeEntry());
while (ptp->aliasedTypeEntry())
ptp = ptp->aliasedTypeEntry();
-
+ strArg = ptp->name();
if (strArg == "QString") {
strArg = "unicode";
} else if (strArg == "QChar") {