aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp
index 719d45605..6947cfa73 100644
--- a/cppgenerator.cpp
+++ b/cppgenerator.cpp
@@ -2625,7 +2625,7 @@ void CppGenerator::writeFlagsUnaryOperator(QTextStream& s, const AbstractMetaEnu
{
Indentation indent(INDENT);
s << INDENT << cppOpName << " Shiboken::Converter< ";
- s << flagsEntry->originalName() << " >::toCpp(arg)" << endl;
+ s << flagsEntry->originalName() << " >::toCpp(self)" << endl;
}
s << INDENT << ");" << endl;
s << '}' << endl << endl;