summaryrefslogtreecommitdiffstats
path: root/src/script/bridge/qscriptvariant_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/bridge/qscriptvariant_p.h')
-rw-r--r--src/script/bridge/qscriptvariant_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/bridge/qscriptvariant_p.h b/src/script/bridge/qscriptvariant_p.h
index da0bb26..6e74a6b 100644
--- a/src/script/bridge/qscriptvariant_p.h
+++ b/src/script/bridge/qscriptvariant_p.h
@@ -49,7 +49,7 @@ public:
virtual const JSC::ClassInfo* classInfo() const { return &info; }
static const JSC::ClassInfo info;
- inline const QVariant &value() const { return data->value; }
+ inline QVariant &value() const { return data->value; }
inline void setValue(const QVariant &value) { data->value = value; }
private: