summaryrefslogtreecommitdiffstats
path: root/src/script/api
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-02-18 15:48:32 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-02-18 15:48:32 (GMT)
commit4baa9dfb5273d7b501dcb3f456983262c53cc8d1 (patch)
treeaf04bea96067fcb8c282067aea00703a25b52069 /src/script/api
parent9eacc56619ce471a9777f88c89f64ca95cd6ae63 (diff)
parentc18beac8163634b48bbf1e7280923e96f5ef0a51 (diff)
downloadQt-4baa9dfb5273d7b501dcb3f456983262c53cc8d1.zip
Qt-4baa9dfb5273d7b501dcb3f456983262c53cc8d1.tar.gz
Qt-4baa9dfb5273d7b501dcb3f456983262c53cc8d1.tar.bz2
Merge remote branch 'origin/master' into qt-master-from-4.6
Conflicts: src/corelib/codecs/qtextcodec.h tests/auto/gestures/tst_gestures.cpp
Diffstat (limited to 'src/script/api')
-rw-r--r--src/script/api/qscriptengine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp
index 1bd7377..237b6fd 100644
--- a/src/script/api/qscriptengine.cpp
+++ b/src/script/api/qscriptengine.cpp
@@ -846,8 +846,7 @@ QScriptEnginePrivate::~QScriptEnginePrivate()
QScriptValue QScriptEnginePrivate::scriptValueFromVariant(const QVariant &v)
{
- Q_Q(QScriptEngine);
- QScriptValue result = q->create(v.userType(), v.data());
+ QScriptValue result = create(v.userType(), v.data());
Q_ASSERT(result.isValid());
return result;
}