summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-04-18 12:08:12 +0200
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2017-04-22 11:25:49 +0000
commitd4cdc4542609e61d04802902d73c693faa8d8969 (patch)
treeac3ef546a85667205e96b6d38cbe2d575af0de8b /tests/benchmarks
parent23287dfb15bb2bee19d2fa3530c030a6b75facfa (diff)
Fix QMetaMethod::invoke and automatic type registration
This was simply not working for two reasons: - The index passed to QMetaObject::metacall was not right (there was an offset because of the return type) - If the registration succeeded, the arguments were not even initialized. The tests in tst_moc always called QMetaMethod::parameterType before calling invoke, which was properly registering the type. So this was not seen in the tests before. [ChangeLog][QtCore][QMetaMethod] Fixed crash in invoke() with QueuedConnection and types whose metatype gets automatically registered. Task-number: QTBUG-60185 Change-Id: I4247628484214fba0a8acc1813ed8f112f59c888 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions