aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertycache.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-05-13 16:24:40 +0200
committerLars Knoll <lars.knoll@digia.com>2013-05-15 23:38:51 +0200
commit738b5861ed39eb12bf6bdd96f24d18232e8406a3 (patch)
tree2d74656affe0e5b4c35965ea03169814994aedd7 /src/qml/qml/qqmlpropertycache.cpp
parent949a194da15bfcf82100d58428bc2bcef0c409d5 (diff)
Fix invocation of QQmlV4Functions in JS/QML
After the renaming of the class we also need to fix the two places where we refer to the type by name. Change-Id: I3c446cb31c2ecfc457f161f6b5cd7e30f44b2227 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlpropertycache.cpp')
-rw-r--r--src/qml/qml/qqmlpropertycache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlpropertycache.cpp b/src/qml/qml/qqmlpropertycache.cpp
index bcfc901c53..55ecdff14e 100644
--- a/src/qml/qml/qqmlpropertycache.cpp
+++ b/src/qml/qml/qqmlpropertycache.cpp
@@ -196,7 +196,7 @@ void QQmlPropertyData::load(const QMetaMethod &m)
if (m.parameterCount()) {
flags |= HasArguments;
- if ((m.parameterCount() == 1) && (m.parameterTypes().first() == "QQmlV8Function*")) {
+ if ((m.parameterCount() == 1) && (m.parameterTypes().first() == "QQmlV4Function*")) {
flags |= IsV8Function;
}
}
@@ -227,7 +227,7 @@ void QQmlPropertyData::lazyLoad(const QMetaMethod &m)
if (m.parameterCount()) {
flags |= HasArguments;
- if ((m.parameterCount() == 1) && (m.parameterTypes().first() == "QQmlV8Function*")) {
+ if ((m.parameterCount() == 1) && (m.parameterTypes().first() == "QQmlV4Function*")) {
flags |= IsV8Function;
}
}