diff options
Diffstat (limited to 'Source/WebCore/platform/qt/KURLQt.cpp')
-rw-r--r-- | Source/WebCore/platform/qt/KURLQt.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/WebCore/platform/qt/KURLQt.cpp b/Source/WebCore/platform/qt/KURLQt.cpp index 86e4ab7b6..3dca4eee0 100644 --- a/Source/WebCore/platform/qt/KURLQt.cpp +++ b/Source/WebCore/platform/qt/KURLQt.cpp @@ -34,15 +34,7 @@ KURL::KURL(const QUrl& url) KURL::operator QUrl() const { -#if !HAVE(QT5) - QString str = QString::fromRawData(reinterpret_cast<const QChar*>(m_string.characters()), m_string.length()); - QByteArray ba = str.toUtf8(); - - QUrl url = QUrl::fromEncoded(ba); - return url; -#else return QUrl(m_string); -#endif } String KURL::fileSystemPath() const |