equal
deleted
inserted
replaced
103 */ |
103 */ |
104 static void fixEpocRoot(QString &path) |
104 static void fixEpocRoot(QString &path) |
105 { |
105 { |
106 path.replace("\\", "/"); |
106 path.replace("\\", "/"); |
107 |
107 |
108 if (path.size() > 1 && path[1] == QChar(':')) { |
108 if (path.size() > 1 && path[1] == QChar(':')) { |
109 path = path.mid(2); |
109 path = path.mid(2); |
110 } |
110 } |
|
111 |
|
112 |
111 |
113 |
112 if (!path.size() || path[path.size()-1] != QChar('/')) { |
114 if (!path.size() || path[path.size()-1] != QChar('/')) { |
113 path += QChar('/'); |
115 path += QChar('/'); |
114 } |
116 } |
115 } |
117 } |