summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/webkit/Source/WebCore/platform/qt/KURLQt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/Source/WebCore/platform/qt/KURLQt.cpp b/src/3rdparty/webkit/Source/WebCore/platform/qt/KURLQt.cpp
index f6d2a86..49df59a 100644
--- a/src/3rdparty/webkit/Source/WebCore/platform/qt/KURLQt.cpp
+++ b/src/3rdparty/webkit/Source/WebCore/platform/qt/KURLQt.cpp
@@ -46,7 +46,7 @@ String KURL::fileSystemPath() const
if (!isValid() || !protocolIs("file"))
return String();
- return String(path());
+ return static_cast<QUrl>(*this).toLocalFile();
}
}