diff options
Diffstat (limited to 'src/qml/qml/v8')
-rw-r--r-- | src/qml/qml/v8/qv8engine.cpp | 5 | ||||
-rw-r--r-- | src/qml/qml/v8/qv8engine_p.h | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/qml/qml/v8/qv8engine.cpp b/src/qml/qml/v8/qv8engine.cpp index 7014911d39..4a3156b4cc 100644 --- a/src/qml/qml/v8/qv8engine.cpp +++ b/src/qml/qml/v8/qv8engine.cpp @@ -981,10 +981,5 @@ int QV8Engine::consoleCountHelper(const QString &file, quint16 line, quint16 col return number; } -QV4::ReturnedValue QV8Engine::toString(const QString &string) -{ - return QV4::Encode(m_v4Engine->newString(string)); -} - QT_END_NAMESPACE diff --git a/src/qml/qml/v8/qv8engine_p.h b/src/qml/qml/v8/qv8engine_p.h index 41564cc222..7bd3e56a9d 100644 --- a/src/qml/qml/v8/qv8engine_p.h +++ b/src/qml/qml/v8/qv8engine_p.h @@ -203,9 +203,6 @@ public: static QVariantMap variantMapFromJS(QV4::Object *o) { return objectToVariant(o->engine(), o).toMap(); } - // Return a JS string for the given QString \a string - QV4::ReturnedValue toString(const QString &string); - // Return the network access manager for this engine. By default this returns the network // access manager of the QQmlEngine. It is overridden in the case of a threaded v8 // instance (like in WorkerScript). |