summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/qt/FileSystemQt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/qt/FileSystemQt.cpp')
-rw-r--r--Source/WebCore/platform/qt/FileSystemQt.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebCore/platform/qt/FileSystemQt.cpp b/Source/WebCore/platform/qt/FileSystemQt.cpp
index 363029406..167ff8354 100644
--- a/Source/WebCore/platform/qt/FileSystemQt.cpp
+++ b/Source/WebCore/platform/qt/FileSystemQt.cpp
@@ -147,6 +147,12 @@ CString fileSystemRepresentation(const String& path)
return path.utf8();
}
+String stringFromFileSystemRepresentation(const char* fileSystemRepresentation)
+{
+ // This needs to do the opposite of fileSystemRepresentation.
+ return String::fromUTF8(fileSystemRepresentation);
+}
+
String openTemporaryFile(const String& prefix, PlatformFileHandle& handle)
{
#ifndef QT_NO_TEMPORARYFILE