diff options
Diffstat (limited to 'src/moc')
-rw-r--r-- | src/moc/moc.y | 1 | ||||
-rw-r--r-- | src/moc/moc_yacc.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/moc/moc.y b/src/moc/moc.y index 2826274ca..6f773449a 100644 --- a/src/moc/moc.y +++ b/src/moc/moc.y @@ -3193,6 +3193,7 @@ void generateClass() // generate C++ source code for a class offset++; } } + fprintf( out, " o[%d].isLastObject = true;\n", f->args->count() + 0 ); fprintf( out, " activate_signal( clist, o );\n" ); // get return values from inOut parameters diff --git a/src/moc/moc_yacc.cpp b/src/moc/moc_yacc.cpp index 83caffeb9..8f655dade 100644 --- a/src/moc/moc_yacc.cpp +++ b/src/moc/moc_yacc.cpp @@ -6019,6 +6019,7 @@ void generateClass() // generate C++ source code for a class offset++; } } + fprintf( out, " o[%d].isLastObject = true;\n", f->args->count() + 0 ); fprintf( out, " activate_signal( clist, o );\n" ); // get return values from inOut parameters |