From ab5690f7a11f280409dc7f8ce17cb528e2829834 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Mon, 30 May 2011 15:11:17 -0300 Subject: Fix error arg types in error messages. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewer: Renato Araújo Luciano Wolf --- generator/cppgenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generator') 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(argType->typeEntry()); while (ptp->aliasedTypeEntry()) ptp = ptp->aliasedTypeEntry(); - + strArg = ptp->name(); if (strArg == "QString") { strArg = "unicode"; } else if (strArg == "QChar") { -- cgit v1.2.3