diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-02-24 20:11:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-03-01 15:46:21 (GMT) |
commit | 47adeb82d67208db88a4aaae5c3427291462611a (patch) | |
tree | 332c9852a91ee13afe01eb91a1e6e0654ddc3351 /src/filedef.cpp | |
parent | df839603204979113b96678e2ab21b3eba64476c (diff) | |
download | Doxygen-47adeb82d67208db88a4aaae5c3427291462611a.zip Doxygen-47adeb82d67208db88a4aaae5c3427291462611a.tar.gz Doxygen-47adeb82d67208db88a4aaae5c3427291462611a.tar.bz2 |
Added directory info to the context
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index 04c56de..b6cfb80 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -172,8 +172,9 @@ void FileDef::findSectionsInDocumentation() bool FileDef::hasDetailedDescription() const { + static bool repeatBrief = Config_getBool("REPEAT_BRIEF"); static bool sourceBrowser = Config_getBool("SOURCE_BROWSER"); - return ((!briefDescription().isEmpty() && Config_getBool("REPEAT_BRIEF")) || + return ((!briefDescription().isEmpty() && repeatBrief) || !documentation().stripWhiteSpace().isEmpty() || // avail empty section (sourceBrowser && getStartBodyLine()!=-1 && getBodyDef()) ); |