summaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-06-15 16:41:24 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-06-18 18:24:34 +0000
commit5f162e17ed84a7af9c7b17a2538ed8b870685b8f (patch)
tree2394559a1ac3ff00780534a475b96c3e5b3e4d77 /src/qml/jsruntime/qv4context_p.h
parentbc045ae542603b941f61b7f76a7a09a5c8877619 (diff)
Cleanup retrieval of scope and context objects
Change-Id: I9c6174181f950bc4f829727dc6acdfe82fa4e894 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r--src/qml/jsruntime/qv4context_p.h4
1 files changed, 3 insertions, 1 deletions
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<Object> withObject;
};
+struct QmlContextWrapper;
+
struct QmlContext : ExecutionContext {
QmlContext(QV4::ExecutionContext *outer, QV4::QmlContextWrapper *qml);
- Pointer<Object> qml;
+ Pointer<QmlContextWrapper> qml;
};
}