diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-06-14 12:25:44 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-06-21 08:50:45 +0000 |
commit | e023a338c4f30e43f4b2ae4a916e4051123d41dd (patch) | |
tree | 86c280fabab3d0305be4874ed7fbc5bed42209de /LICENSE.LGPL3 | |
parent | fceb04cf29764c815fb539d3d62ed26edcb78448 (diff) |
Fix crash in binding setup during async load from a Loader
Change 91ac4a8d099d10fdfd5aa631da02727b7917d85f removed the source
location from QQmlBindingFunction, because it can be retrieved from the
QV4::Function in the QV4::CppStackFrame. However, if a binding is
initialized as part of an asynchronous load from a Loader component,
there might not be a valid function pointer in that frame. In this
specific case, we fall back to the source location of the binding
function.
Task-number: QTBUG-68738
Change-Id: I2d3f17e4cb82be1e70a54cb66f9cf9c17f541f95
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'LICENSE.LGPL3')
0 files changed, 0 insertions, 0 deletions