diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-05-28 13:33:50 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-29 09:20:12 +0200 |
commit | a3a73c6cafbe28068afb60ebe41eb2b6cdfacd36 (patch) | |
tree | 6599ced8c3d992341148a585e5828efaa072e7d4 /src/qml/qml/qqmljavascriptexpression_p.h | |
parent | eeb43b3aff1ae100bbe31f4892fe5a8cec8a3a86 (diff) |
Remove some leftovers from the v8bindings
The shared context concept was only used there, so remove
code that was referring to it.
Change-Id: I5ae56049a83818c898ef1cc4e68a5333a9374656
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmljavascriptexpression_p.h')
-rw-r--r-- | src/qml/qml/qqmljavascriptexpression_p.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/qml/qml/qqmljavascriptexpression_p.h b/src/qml/qml/qqmljavascriptexpression_p.h index 0b93087f97..dcd19abb16 100644 --- a/src/qml/qml/qqmljavascriptexpression_p.h +++ b/src/qml/qml/qqmljavascriptexpression_p.h @@ -117,8 +117,6 @@ public: inline bool requiresThisObject() const; inline void setRequiresThisObject(bool v); - inline bool useSharedContext() const; - inline void setUseSharedContext(bool v); inline bool notifyOnValueChanged() const; void setNotifyOnValueChanged(bool v); @@ -226,16 +224,6 @@ void QQmlJavaScriptExpression::setRequiresThisObject(bool v) m_scopeObject.setFlagValue(v); } -bool QQmlJavaScriptExpression::useSharedContext() const -{ - return activeGuards.flag2(); -} - -void QQmlJavaScriptExpression::setUseSharedContext(bool v) -{ - activeGuards.setFlag2Value(v); -} - bool QQmlJavaScriptExpression::notifyOnValueChanged() const { return activeGuards.flag(); |