summaryrefslogtreecommitdiffstats
path: root/generator.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-07-08 16:30:32 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-07-08 16:30:32 -0300
commit0e2f7543d283f37cd5c47028b663b415572f576f (patch)
tree5cd6629f5bfc16bd093536346703b5e17ad4d494 /generator.cpp
parentaa333111a036873d2942fa949901d5634c5f44a7 (diff)
downloadgeneratorrunner-0e2f7543d283f37cd5c47028b663b415572f576f.tar.gz
generatorrunner-0e2f7543d283f37cd5c47028b663b415572f576f.tar.xz
generatorrunner-0e2f7543d283f37cd5c47028b663b415572f576f.zip
Adapt to recent changes in ApiExtractor API.
Diffstat (limited to 'generator.cpp')
-rw-r--r--generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator.cpp b/generator.cpp
index d5d1b64..4703924 100644
--- a/generator.cpp
+++ b/generator.cpp
@@ -224,7 +224,7 @@ void Generator::replaceTemplateVariables(QString &code, const AbstractMetaFuncti
code.replace("%TYPE", cpp_class->name());
foreach (AbstractMetaArgument *arg, func->arguments())
- code.replace("%" + QString::number(arg->argumentIndex() + 1), arg->argumentName());
+ code.replace("%" + QString::number(arg->argumentIndex() + 1), arg->name());
//template values
code.replace("%RETURN_TYPE", translateType(func->type(), cpp_class));