summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-09-27 19:20:12 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-09-27 19:20:12 (GMT)
commit22dc10cfbe5042f21b9d706e5e8bb41749f65786 (patch)
tree5485e95b8a8a758f2d0d0a39e611d4d9b1ad519b /src/util.cpp
parentdb36de70fc9090e26c22ab288492407becb3a95e (diff)
downloadDoxygen-22dc10cfbe5042f21b9d706e5e8bb41749f65786.zip
Doxygen-22dc10cfbe5042f21b9d706e5e8bb41749f65786.tar.gz
Doxygen-22dc10cfbe5042f21b9d706e5e8bb41749f65786.tar.bz2
Release-1.4.4-20050927
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp7
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;