summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--headergenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/headergenerator.cpp b/headergenerator.cpp
index 59f3f6e0..d5fab6bd 100644
--- a/headergenerator.cpp
+++ b/headergenerator.cpp
@@ -159,7 +159,7 @@ void HeaderGenerator::writeFunction(QTextStream& s, const AbstractMetaFunction*
s << func->originalName() << '(';
QStringList args;
foreach (const AbstractMetaArgument* arg, func->arguments()) {
- QString argName = arg->argumentName();
+ QString argName = arg->name();
const TypeEntry* enumTypeEntry = 0;
if (arg->type()->isFlags())
enumTypeEntry = reinterpret_cast<const FlagsTypeEntry*>(arg->type()->typeEntry())->originator();