summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
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 cdf6099..27e5a13 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 toScriptValue(value);
+ return qScriptValueFromValue(value);
}
template <typename T>
inline T fromScriptValue(const QScriptValue &value)