git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26953
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-10-24 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Make the implementation of pathByAppendingComponent use QDir.
+
+ * platform/qt/FileSystemQt.cpp:
+
2007-10-24 David Hyatt <hyatt@apple.com>
Make repainting work with transforms.
String pathByAppendingComponent(const String& path, const String& component)
{
- if (path.endsWith("/"))
- return path + component;
- else
- return path + "/" + component;
+ return QDir(path).filePath(component);
}
}