Permalink
Browse files

Bug 775245 - referencing Python files via tagfile broken

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Nov 29, 2016
1 parent 3b8b2e1 commit dc02bb977ebc6c683012c106e16e0190ac72b454
Showing with 13 additions and 4 deletions.
  1. +13 −4 src/filedef.cpp
View
@@ -82,8 +82,8 @@ FileDef::FileDef(const char *p,const char *nm,
m_path=p;
m_filePath=m_path+nm;
m_fileName=nm;
setDiskName(dn?dn:nm);
setReference(lref);
setDiskName(dn?dn:nm);
m_classSDict = 0;
m_includeList = 0;
m_includeDict = 0;
@@ -126,9 +126,18 @@ FileDef::~FileDef()
void FileDef::setDiskName(const QCString &name)
{
m_outputDiskName = convertNameToFile(name);
m_inclDepFileName = convertNameToFile(name+"_incl");
m_inclByDepFileName = convertNameToFile(name+"_dep_incl");
if (isReference())
{
m_outputDiskName = name;
m_inclDepFileName = name+"_incl";
m_inclByDepFileName = name+"_dep_incl";
}
else
{
m_outputDiskName = convertNameToFile(name);
m_inclDepFileName = convertNameToFile(name+"_incl");
m_inclByDepFileName = convertNameToFile(name+"_dep_incl");
}
}
/*! Compute the HTML anchor names for all members in the class */

0 comments on commit dc02bb9

Please sign in to comment.