From 5f162e17ed84a7af9c7b17a2538ed8b870685b8f Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 15 Jun 2015 16:41:24 +0200 Subject: Cleanup retrieval of scope and context objects Change-Id: I9c6174181f950bc4f829727dc6acdfe82fa4e894 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4context_p.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4context_p.h') diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h index 09a15369a4..41457312f4 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -126,9 +126,11 @@ struct WithContext : ExecutionContext { Pointer withObject; }; +struct QmlContextWrapper; + struct QmlContext : ExecutionContext { QmlContext(QV4::ExecutionContext *outer, QV4::QmlContextWrapper *qml); - Pointer qml; + Pointer qml; }; } -- cgit v1.2.3