aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4regexpobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-08-25 17:17:04 +0200
committerLars Knoll <lars.knoll@theqtcompany.com>2015-09-15 19:12:54 +0000
commitc5f3028d43662050a6bf5419690ddd4ab4288db8 (patch)
tree183dd197eac6b72dd251d58c939f57956a0c47d2 /src/qml/jsruntime/qv4regexpobject_p.h
parent458892bcd570b5b517387a22782afe3cff2eea6d (diff)
Cleanup
The property is always value based, so there's no need to cast to a Property* when returning it. Change-Id: I095a940197aedac90ad9f5491ccb9af0ca53d722 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4regexpobject_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4regexpobject_p.h b/src/qml/jsruntime/qv4regexpobject_p.h
index 29d20614de..04fc838147 100644
--- a/src/qml/jsruntime/qv4regexpobject_p.h
+++ b/src/qml/jsruntime/qv4regexpobject_p.h
@@ -102,7 +102,7 @@ struct RegExpObject: Object {
void init(ExecutionEngine *engine);
- Property *lastIndexProperty();
+ Value *lastIndexProperty();
QRegExp toQRegExp() const;
QString toString() const;
QString source() const;