Fix filesToOpen in example manifests.

Task-number: QTBUG-27801
Change-Id: Ibfe1f3f2f3ba9d00698d3465fb0950e77a63bd4e
Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
Eike Ziller 2012-11-27 15:57:56 +01:00 committed by The Qt Project
parent e9a8b026f5
commit ab0b8f3fce

View File

@ -4122,7 +4122,7 @@ void HtmlGenerator::generateManifestFile(QString manifest, QString element)
writer.writeStartElement("fileToOpen");
if (file.startsWith("demos/"))
file = file.mid(6);
writer.writeCharacters(file);
writer.writeCharacters(examplesPath + file);
writer.writeEndElement(); // fileToOpen
usedNames.insert(fileName);
}
@ -4133,7 +4133,7 @@ void HtmlGenerator::generateManifestFile(QString manifest, QString element)
writer.writeStartElement("fileToOpen");
if (file.startsWith("demos/"))
file = file.mid(6);
writer.writeCharacters(file);
writer.writeCharacters(examplesPath + file);
writer.writeEndElement(); // fileToOpen
usedNames.insert(fileName);
}