use forwardslashes instead of QDir::separator() even on windows, otherwise we get a path with mixed slashes
svn path=/trunk/KDE/kdelibs/; revision=1165684
This commit is contained in:
parent
f2a2d34a48
commit
4b8bffc1f8
@ -393,7 +393,7 @@ void PackageStructure::setPath(const QString &path)
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
QFileInfo info(basePath);
|
QFileInfo info(basePath);
|
||||||
if (info.isDir()) {
|
if (info.isDir()) {
|
||||||
basePath.append(QDir::separator());
|
basePath.append("/");
|
||||||
}
|
}
|
||||||
//kDebug() << "basePath is" << basePath;
|
//kDebug() << "basePath is" << basePath;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user