diff options
author | Andy Shaw <andy.shaw@digia.com> | 2015-02-06 10:50:29 +0100 |
---|---|---|
committer | Andy Shaw <andy.shaw@digia.com> | 2015-02-08 11:48:28 +0000 |
commit | 97b85f4f4e7fc14ff47cd92e4525f7a56864bff4 (patch) | |
tree | 48cdc7e92aa52adafc76a963792fffbb5ae33887 /doc/src/snippets/code/src_sql_kernel_qsqlresult.cpp | |
parent | 6d5a2db97d6f19f4ccc446473adc40a922e1a7ea (diff) | |
download | qt4-tools-97b85f4f4e7fc14ff47cd92e4525f7a56864bff4.tar.gz |
QThread: fix race when setting the eventDispatcher
Use QMutexLocker to make this thread-safe.
Task-number: QTBUG-29452
(cherry picked and adapted from qtbase/f4609b202208fe592d24c7ae3b4a48ee83045497)
Change-Id: I5caf71d9a5dc6e3d655eac84426a0c5592772235
Reviewed-by: Louai Al-Khanji <louai.al-khanji@theqtcompany.com>
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlresult.cpp')
0 files changed, 0 insertions, 0 deletions