summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-10-12 11:30:16 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-10-12 11:30:16 (GMT)
commitcd8d9d90f0ded716840cd405d88c8b711428e899 (patch)
treedf8e13e4cac8b44414890fbf25c4bcd702d5ebd3 /src/definition.cpp
parent3102b81d682bf0b3b4dd50148434ab8e575a3d2e (diff)
downloadDoxygen-cd8d9d90f0ded716840cd405d88c8b711428e899.zip
Doxygen-cd8d9d90f0ded716840cd405d88c8b711428e899.tar.gz
Doxygen-cd8d9d90f0ded716840cd405d88c8b711428e899.tar.bz2
Release-1.5.7.1-20081012
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index ac8e044..c9db4bd 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -1238,8 +1238,11 @@ QCString Definition::briefDescriptionAsTooltip() const
static bool reentering=FALSE;
if (!reentering)
{
+ MemberDef *md = definitionType()==TypeMember ? (MemberDef*)this : 0;
+ const Definition *scope = definitionType()==TypeMember ? getOuterScope() : this;
reentering=TRUE; // prevent requests for tooltips while parsing a tooltip
m_impl->brief->tooltip = parseCommentAsText(
+ scope,md,
m_impl->brief->doc,
m_impl->brief->file,
m_impl->brief->line);