Commit e96c1bf0 authored by Jarek Kobus's avatar Jarek Kobus
Browse files

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: default avatarChristian Kandeler <christian.kandeler@qt.io>
parent c96755ea
Showing with 6 additions and 6 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment