Find qdoc indexes in relative paths.

Change-Id: Ie717e85bfc3d49173d1ae4caf2a01ad6e9b8b625
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
This commit is contained in:
Frederik Gladhorn 2012-08-29 17:34:06 +02:00 committed by Qt by Nokia
parent 4d78b86731
commit 5f5e9b0e04

View File

@ -264,7 +264,7 @@ static void processQdocconfFile(const QString &fileName)
if (indexDirs.size() > 0) { if (indexDirs.size() > 0) {
for (int i = 0; i < indexDirs.size(); i++) { for (int i = 0; i < indexDirs.size(); i++) {
if (indexDirs[i].startsWith("..")) { if (indexDirs[i].startsWith("..")) {
indexDirs[i].prepend(QDir(dir).relativeFilePath(prevCurrentDir)); indexDirs[i].prepend(QDir(dir).relativeFilePath(prevCurrentDir) + QLatin1Char('/'));
} }
} }
/* /*