diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-04 19:00:44 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-04 19:00:44 (GMT) |
commit | c7c7d73c184ee2eebf65e83044cf1e325751cffa (patch) | |
tree | 3b47008eb1cd22f610d357048b71539ec1a15682 /src/util.cpp | |
parent | e7a188b769b9eed3b0c6501890d2f36b6475ade9 (diff) | |
download | Doxygen-c7c7d73c184ee2eebf65e83044cf1e325751cffa.zip Doxygen-c7c7d73c184ee2eebf65e83044cf1e325751cffa.tar.gz Doxygen-c7c7d73c184ee2eebf65e83044cf1e325751cffa.tar.bz2 |
Made bread crumb trails enabled unconditionally
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/util.cpp b/src/util.cpp index 9dd7bca..0049098 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -6353,12 +6353,13 @@ void addRefItem(const QList<ListItemInfo> *sli, } } -bool recursivelyAddGroupListToTitle(OutputList &ol,Definition *d,bool root,bool shouldRecurse) +bool recursivelyAddGroupListToTitle(OutputList &ol,Definition *d,bool root) { GroupList *groups = d->partOfGroups(); if (groups) // write list of group to which this definition belongs { - if (root) { + if (root) + { ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); ol.writeString("<div class=\"ingroups\">"); @@ -6368,14 +6369,15 @@ bool recursivelyAddGroupListToTitle(OutputList &ol,Definition *d,bool root,bool bool first=true; for (gli.toFirst();(gd=gli.current());++gli) { - if (shouldRecurse && recursivelyAddGroupListToTitle(ol, gd, false, shouldRecurse)) { - ol.writeString(" > "); + if (recursivelyAddGroupListToTitle(ol, gd, FALSE)) + { + ol.writeString(" » "); } if (!first) { ol.writeString(" | "); } else first=FALSE; - ol.writeObjectLink(gd->getReference(), - gd->getOutputFileBase(),0,gd->groupTitle()); + ol.writeObjectLink(gd->getReference(),gd->getOutputFileBase(),0,gd->groupTitle()); } - if (root) { + if (root) + { ol.writeString("</div>"); ol.popGeneratorState(); } @@ -6386,7 +6388,7 @@ bool recursivelyAddGroupListToTitle(OutputList &ol,Definition *d,bool root,bool void addGroupListToTitle(OutputList &ol,Definition *d) { - recursivelyAddGroupListToTitle(ol,d,true,Config_getBool("BREAD_CRUMB_TRAIL")); + recursivelyAddGroupListToTitle(ol,d,TRUE); } void filterLatexString(FTextStream &t,const char *str, |