summaryrefslogtreecommitdiffstats
path: root/src/context.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-02-26 19:26:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-02-26 19:26:15 (GMT)
commit5e5615a9d2da8b923565c1bcadc9db48efbc75d0 (patch)
tree3e53070ae9b2bb683c6b27b5c4edf5cf9151d850 /src/context.cpp
parent80d09775da9a99a3bc58704ffd055547c6b03043 (diff)
parent073e9482a516c24a3d045da049941bfd432f3354 (diff)
downloadDoxygen-5e5615a9d2da8b923565c1bcadc9db48efbc75d0.zip
Doxygen-5e5615a9d2da8b923565c1bcadc9db48efbc75d0.tar.gz
Doxygen-5e5615a9d2da8b923565c1bcadc9db48efbc75d0.tar.bz2
Merge pull request #302 from albert-github/feature/bug_callgraph
Adding commands \hidecallgraph and \hidecallergraph
Diffstat (limited to 'src/context.cpp')
-rw-r--r--src/context.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/context.cpp b/src/context.cpp
index 551db1a..2946cdd 100644
--- a/src/context.cpp
+++ b/src/context.cpp
@@ -4056,8 +4056,7 @@ class MemberContext::Private : public DefinitionContext<MemberContext::Private>
TemplateVariant hasCallGraph() const
{
static bool haveDot = Config_getBool("HAVE_DOT");
- static bool callGraph = Config_getBool("CALL_GRAPH");
- if ((callGraph || m_memberDef->hasCallGraph()) && haveDot &&
+ if (m_memberDef->hasCallGraph() && haveDot &&
(m_memberDef->isFunction() || m_memberDef->isSlot() || m_memberDef->isSignal()))
{
DotCallGraph *cg = getCallGraph();
@@ -4096,8 +4095,7 @@ class MemberContext::Private : public DefinitionContext<MemberContext::Private>
TemplateVariant hasCallerGraph() const
{
static bool haveDot = Config_getBool("HAVE_DOT");
- static bool callerGraph = Config_getBool("CALLER_GRAPH");
- if ((callerGraph || m_memberDef->hasCallerGraph()) && haveDot &&
+ if (m_memberDef->hasCallerGraph() && haveDot &&
(m_memberDef->isFunction() || m_memberDef->isSlot() || m_memberDef->isSignal()))
{
DotCallGraph *cg = getCallerGraph();