aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v4/qv4stringobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/v4/qv4stringobject.cpp')
-rw-r--r--src/qml/qml/v4/qv4stringobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v4/qv4stringobject.cpp b/src/qml/qml/v4/qv4stringobject.cpp
index 0596ea628d..472fea5c46 100644
--- a/src/qml/qml/v4/qv4stringobject.cpp
+++ b/src/qml/qml/v4/qv4stringobject.cpp
@@ -375,7 +375,7 @@ Value StringPrototype::method_match(SimpleCallContext *context)
} else {
previousLastIndex = thisIndex;
}
- Value matchStr = result.objectValue()->getIndexed(context, 0, (bool *)0);
+ Value matchStr = result.objectValue()->getIndexed(0);
a->arraySet(n, matchStr);
++n;
}