aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-08-21 09:10:21 +0200
committerLars Knoll <lars.knoll@theqtcompany.com>2015-09-09 14:28:39 +0000
commitf766ae49abd9e87a7f056165d8699315343ceaee (patch)
tree789b1cffb6be17bd0a0bfb262cafc9a0447d0eac /src/qml/jsruntime/qv4context_p.h
parent6f9a090aa5c21916d19e20ebea16ff46690b7346 (diff)
Smaller cleanup
Move the takeContextOwnership method over to the QmlContext. Change-Id: I9330b31a0cb079b1c7e68a00236a69e25ed2c5af 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h
index 63f8cbaac4..558630e945 100644
--- a/src/qml/jsruntime/qv4context_p.h
+++ b/src/qml/jsruntime/qv4context_p.h
@@ -225,6 +225,8 @@ struct QmlContext : public ExecutionContext
QObject *qmlScope() const;
QQmlContextData *qmlContext() const;
+
+ void takeContextOwnership();
};
inline CallContext *ExecutionContext::asCallContext()