diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-03-23 10:43:25 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-03-23 11:00:37 -0300 |
commit | a38c294732542b8d25ca1a34856c2ffa4fa2b1ac (patch) | |
tree | 4b6afe2ff19846ed4837fe3c2d799a3bfcd2be4e /cppgenerator.cpp | |
parent | a0a406b06c46f3f8f678e57807037d7a8d34d08f (diff) |
Enum's __invert__ method must use 'self' argument.
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'cppgenerator.cpp')
-rw-r--r-- | cppgenerator.cpp | 2 |
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; |