summaryrefslogtreecommitdiff
path: root/src/linguist/shared/simtexth.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2018-04-06 16:44:09 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2018-04-09 13:30:24 +0000
commite96c1bf0da93d3448d09d2364a910e4d784d5723 (patch)
treeea4b6f3e2c8c0a9efc607f2a92d64ea263cf124e /src/linguist/shared/simtexth.h
parentc96755ea7eede1f1881e00718fc03c3f5f693c33 (diff)
downloadqttools-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