summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
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);