aboutsummaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-05-30 15:11:17 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:15:24 -0300
commitab5690f7a11f280409dc7f8ce17cb528e2829834 (patch)
tree6bc9583ad5b2e0a8617c1a3d09b96b0ca6b05c31 /generator
parentc65886debe3d55278fac78e8c14d552eb40ce1d5 (diff)
Fix error arg types in error messages.
Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
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") {