Code clean up

This commit is contained in:
Christophe Dumez
2011-09-25 15:04:51 +03:00
parent 4c5dd66b0f
commit ce6348bc32
10 changed files with 36 additions and 39 deletions

View File

@@ -88,7 +88,7 @@ public:
static inline QString removeLastPathPart(QString path) {
if(path.isEmpty()) return path;
path = path.replace("\\", "/");
path.replace("\\", "/");
QStringList tmp = path.split("/");
tmp.removeLast();
return tmp.join("/");