summaryrefslogtreecommitdiff
path: root/src/webchannel/signalhandler_p.h
diff options
context:
space:
mode:
authorDave Andrews <jetdog330@hotmail.com>2016-08-22 22:34:06 -0400
committerMilian Wolff <milian.wolff@kdab.com>2016-09-29 15:03:56 +0000
commite354bdc5cbe33621def2b200f01d6376291570fc (patch)
tree7e16e831f0a2ec9e90909ee3db522a03daa16db6 /src/webchannel/signalhandler_p.h
parent3b28a6956cb3cab087481312dc82a907b118e0de (diff)
downloadqtwebchannel-e354bdc5cbe33621def2b200f01d6376291570fc.tar.gz
Fix asynchronous method calls on QObjects in different threads
Use QMetaMethod::invoke without a return for void method calls, which allows making asynchronous method calls onto QObjects in different affinities than the QWebChannel that's emitting them. Also adds a unit test called testAsyncObject that intentionally places a QObject in a different affinity and then tests calls into it from the QWebChannel's synchronous publisher. Task-number: QTBUG-47678 Change-Id: I6c35ee54f764c0fc1b0431fb0774aa7e75039abf Reviewed-by: Dave Andrews <jetdog330@hotmail.com> Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'src/webchannel/signalhandler_p.h')
0 files changed, 0 insertions, 0 deletions