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:
Carlo Segato 2010-08-19 22:55:15 +00:00
parent f2a2d34a48
commit 4b8bffc1f8

View File

@ -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 {