diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-02-26 19:26:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-02-26 19:26:15 (GMT) |
commit | 5e5615a9d2da8b923565c1bcadc9db48efbc75d0 (patch) | |
tree | 3e53070ae9b2bb683c6b27b5c4edf5cf9151d850 /src/context.cpp | |
parent | 80d09775da9a99a3bc58704ffd055547c6b03043 (diff) | |
parent | 073e9482a516c24a3d045da049941bfd432f3354 (diff) | |
download | Doxygen-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.cpp | 6 |
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(); |