From 3f5dc49edf41359f18e7c94c28a345a9600eb44f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 6 Dec 2012 16:48:15 -0600 Subject: Automated update from Qt3 --- src/moc/moc.y | 1 + src/moc/moc_yacc.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src/moc') 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 -- cgit v1.2.1