diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2018-04-06 16:44:09 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2018-04-09 13:30:24 +0000 |
commit | e96c1bf0da93d3448d09d2364a910e4d784d5723 (patch) | |
tree | ea4b6f3e2c8c0a9efc607f2a92d64ea263cf124e /src/linguist/shared/simtexth.h | |
parent | c96755ea7eede1f1881e00718fc03c3f5f693c33 (diff) | |
download | qttools-e96c1bf0da93d3448d09d2364a910e4d784d5723.tar.gz |
Fix possible crash inside connection to the lambda
Pass "this" context object to the connect().
Otherwise when "this" instance gets deleted and the sender still exists,
the lambda expression is still invoked for the deleted object.
Change-Id: I0a38489fac302a85abc80928c6244383ff1870ff
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/linguist/shared/simtexth.h')
0 files changed, 0 insertions, 0 deletions