Commit ef81c70e authored by dimitri's avatar dimitri

Fixed bug that leads to empty file index in the HTML output.

parent a9862d84
......@@ -778,6 +778,17 @@ static void writeDirHierarchy(OutputList &ol, FTVHelp* ftv,bool addToIndex)
{
bool doc,src;
doc = fileVisibleInIndex(fd,src);
QCString reference, outputBase;
if (doc)
{
reference = fd->getReference();
outputBase = fd->getOutputFileBase();
}
ftv->addContentsItem(FALSE,fd->displayName(),
reference, outputBase, 0,
FALSE,FALSE,fd);
if (addToIndex)
{
if (doc)
{
addMembersToIndex(fd,LayoutDocManager::File,fd->displayName(),QCString(),TRUE);
......@@ -792,6 +803,7 @@ static void writeDirHierarchy(OutputList &ol, FTVHelp* ftv,bool addToIndex)
}
}
}
}
endIndexHierarchy(ol,0);
if (ftv)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment