summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/qscriptstring.cpp')
-rw-r--r--src/script/api/qscriptstring.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/script/api/qscriptstring.cpp b/src/script/api/qscriptstring.cpp
index 0ded562..c5fd83b 100644
--- a/src/script/api/qscriptstring.cpp
+++ b/src/script/api/qscriptstring.cpp
@@ -46,10 +46,6 @@
QT_BEGIN_NAMESPACE
-namespace QScript
-{
- QString qtStringFromJSCUString(const JSC::UString &str);
-}
/*!
\since 4.4
@@ -194,7 +190,7 @@ QString QScriptString::toString() const
Q_D(const QScriptString);
if (!d || !d->engine)
return QString();
- return QScript::qtStringFromJSCUString(d->identifier.ustring());
+ return d->identifier.ustring();
}
/*!