Merge "Merge remote-tracking branch 'origin/release' into stable" into refs/staging/stable

bb10
Frederik Gladhorn 2014-02-04 10:37:11 +01:00 committed by The Qt Project
commit 49f30168c0
1 changed files with 2 additions and 1 deletions

View File

@ -657,7 +657,8 @@ void HelpProjectWriter::generateProject(HelpProject &project)
if (node == 0)
node = qdb_->findNode(QStringList("index.html"));
QString indexPath;
if (node)
// Never use a collision node as a landing page
if (node && !node->isCollisionNode())
indexPath = gen_->fullDocumentLocation(node,Generator::useOutputSubdirs());
else
indexPath = "index.html";