diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 8cf4ba5..e07536a 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -3849,6 +3849,7 @@ bool resolveLink(/* in */ const char *scName, GroupDef *gd; PageDef *pd; ClassDef *cd; + DirDef *dir; NamespaceDef *nd; bool ambig; if (linkRef.isEmpty()) // no reference name! @@ -3902,6 +3903,12 @@ bool resolveLink(/* in */ const char *scName, *resContext=nd; return TRUE; } + else if ((dir=Doxygen::directories.find(QFileInfo(linkRef).absFilePath()+"/")) + && dir->isLinkable()) // TODO: make this location independent like filedefs + { + *resContext=dir; + return TRUE; + } else // probably a member reference { MemberDef *md; |