Initialize the return value of signals
authorOlivier Goffart <ogoffart@woboq.com>
Tue, 8 Nov 2011 23:11:30 +0000 (00:11 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 29 Nov 2011 16:08:39 +0000 (17:08 +0100)
commit1c5db1aff34a3dbb8f24d8edb96e138eb1509d44
tree592482597cea5dc86a5cf3472b79ba3d8aee9ccb
parented0b262de97dd92c831127909ea4c059962b86ce
Initialize the return value of signals

Before, the constructor was called for complex objects, but
POD were left unitinialized. Now, they are zero-initialized.

Also add test for return values

Change-Id: Iff9bf6687589d7b7395a71fb6f650ab8aa2b6bd1
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
src/tools/moc/generator.cpp
tests/auto/corelib/kernel/qobject/tst_qobject.cpp