summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2010-08-06 11:09:34 (GMT)
committerYoann Lopes <yoann.lopes@nokia.com>2010-08-06 11:09:34 (GMT)
commit04fe6ee36cbabf7e2a8e70f3baed026a23394b4f (patch)
treebb8486c60044050bdc369d80881e4fc63b9db5c0 /src/script
parent73791fe53805f3bfad651c36fce9249441f864cd (diff)
downloadQt-04fe6ee36cbabf7e2a8e70f3baed026a23394b4f.zip
Qt-04fe6ee36cbabf7e2a8e70f3baed026a23394b4f.tar.gz
Qt-04fe6ee36cbabf7e2a8e70f3baed026a23394b4f.tar.bz2
Compile.
Related to 73791fe53805f3bfad651c36fce9249441f864cd.
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/qscriptengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/qscriptengine.h b/src/script/api/qscriptengine.h
index 27e5a13..830d477 100644
--- a/src/script/api/qscriptengine.h
+++ b/src/script/api/qscriptengine.h
@@ -212,7 +212,7 @@ public:
template <typename T>
inline QScriptValue toScriptValue(const T &value)
{
- return qScriptValueFromValue(value);
+ return qScriptValueFromValue(this, value);
}
template <typename T>
inline T fromScriptValue(const QScriptValue &value)