diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-04-04 15:41:18 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-05-06 07:15:20 +0000 |
commit | 5032ff5c2b48d53e4580bb7d50b1f6de081263b0 (patch) | |
tree | 05acb8460793e1aed072e971d9b83deb4ea1c8aa /src/qml/jsruntime/qv4regexpobject.cpp | |
parent | fee256e6414d634dcc17ed8cfbec34780878a194 (diff) |
Move workerscript to its own module
Change-Id: I778cfe842ddf1c600a837d8f2061a338887eed95
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4regexpobject.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/qml/jsruntime/qv4regexpobject.cpp b/src/qml/jsruntime/qv4regexpobject.cpp index 5bd25dcbec..64aba1d85c 100644 --- a/src/qml/jsruntime/qv4regexpobject.cpp +++ b/src/qml/jsruntime/qv4regexpobject.cpp @@ -198,13 +198,6 @@ QString RegExpObject::toString() const return p; } -QString RegExpObject::source() const -{ - Scope scope(engine()); - ScopedValue s(scope, get(scope.engine->id_source())); - return s->toQString(); -} - ReturnedValue RegExpObject::builtinExec(ExecutionEngine *engine, const String *str) { QString s = str->toQString(); |