summaryrefslogtreecommitdiffstats
path: root/src/moc
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-12-19 14:03:14 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-12-19 14:03:14 -0600
commitf8224f3a623495e4e1dbf852554d7601a6b7c4c4 (patch)
treed5583114ba48669960c9f7d68927687ea652a0b8 /src/moc
parent25240579092616b09d28705ac84e13e49b744707 (diff)
parente8cbbedf46da493d2c206444a7e18e5777402905 (diff)
downloadtqt3-f8224f3a623495e4e1dbf852554d7601a6b7c4c4.tar.gz
tqt3-f8224f3a623495e4e1dbf852554d7601a6b7c4c4.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
Diffstat (limited to 'src/moc')
-rw-r--r--src/moc/moc.y1
-rw-r--r--src/moc/moc_yacc.cpp1
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