aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v8/qv8valuetypewrapper.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-21 12:33:55 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-21 12:54:18 +0200
commitd8891234812898b1cab406dae9fab9f818bb1efe (patch)
tree24dfbdd53386ba7c97d4e17fb6c04c4b8c38e56a /src/qml/qml/v8/qv8valuetypewrapper.cpp
parent15db69e5066a6535532744186e11f3098800f0ba (diff)
Get rid of v8::Integer
Change-Id: I6b9ab830c4ff3cbf986dbcf7c056648b5a16a222 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qv8valuetypewrapper.cpp')
-rw-r--r--src/qml/qml/v8/qv8valuetypewrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v8/qv8valuetypewrapper.cpp b/src/qml/qml/v8/qv8valuetypewrapper.cpp
index dd669fc97a..0ca48cf5c2 100644
--- a/src/qml/qml/v8/qv8valuetypewrapper.cpp
+++ b/src/qml/qml/v8/qv8valuetypewrapper.cpp
@@ -338,7 +338,7 @@ v8::Handle<v8::Value> QV8ValueTypeWrapper::Getter(v8::Handle<v8::String> propert
// These four types are the most common used by the value type wrappers
VALUE_TYPE_LOAD(QMetaType::QReal, qreal, v8::Number::New);
- VALUE_TYPE_LOAD(QMetaType::Int, int, v8::Integer::New);
+ VALUE_TYPE_LOAD(QMetaType::Int, int, QV4::Value::fromInt32);
VALUE_TYPE_LOAD(QMetaType::QString, QString, r->engine->toString);
VALUE_TYPE_LOAD(QMetaType::Bool, bool, v8::Boolean::New);