diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2020-12-02 13:08:57 +0100 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2020-12-04 12:38:32 +0100 |
commit | bad85119bf35468292cfd80ecc934b66515f0c68 (patch) | |
tree | a073408a2f343be098bea274f81b5d8a450e791c /src/qml/jsruntime/qv4qmlcontext.cpp | |
parent | 432094f5f914aa396d9da794526849f75f9a2bfe (diff) |
qv4qmlcontext: Fix bounded signal expressions when debugging
Fixes: QTBUG-83599
Pick-to: 5.15
Change-Id: I8909f0b2d3eca909512b99c172c8dc5e93e48482
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4qmlcontext.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4qmlcontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4qmlcontext.cpp b/src/qml/jsruntime/qv4qmlcontext.cpp index b6b268fc9b..fbfc66e8d8 100644 --- a/src/qml/jsruntime/qv4qmlcontext.cpp +++ b/src/qml/jsruntime/qv4qmlcontext.cpp @@ -471,9 +471,9 @@ ReturnedValue QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(Lookup * return static_cast<Heap::CallContext *>(ctx)->locals[index].asReturnedValue(); } - // Skip only block contexts within the current call context. + // Skip only block and call contexts. // Other contexts need a regular QML property lookup. See below. - if (ctx->type != Heap::ExecutionContext::Type_BlockContext) + if (ctx->type != Heap::ExecutionContext::Type_BlockContext && ctx->type != Heap::ExecutionContext::Type_CallContext) break; } |