summaryrefslogtreecommitdiff
path: root/examples/webenginewidgets/simplebrowser/browserwindow.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2017-08-02 15:51:41 +0200
committerMichal Klocek <michal.klocek@qt.io>2017-08-02 14:05:10 +0000
commitbad151445176edc55fb37fbae56b3c8a1ab1feb5 (patch)
tree88c0db97fb1fa7604d7cf1f4e954f85bb7fd0572 /examples/webenginewidgets/simplebrowser/browserwindow.h
parent905160596f03a4313620e5c68db5dd51d5da0f73 (diff)
downloadqtwebengine-bad151445176edc55fb37fbae56b3c8a1ab1feb5.tar.gz
Fix simplebrowser crash on exit while downloading
On webengine profile destruction all download items in progress are canceled. This triggered stateChanged of QWebEngineDownloadItem which called lambda function on already deleted object. Do not use lambda functions in this case. Change-Id: Ia1d359fe47204baa51f1380d1c3547c28550bc28 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
Diffstat (limited to 'examples/webenginewidgets/simplebrowser/browserwindow.h')
0 files changed, 0 insertions, 0 deletions