summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
authorDavid Hebbeker <david@hebbeker.info>2020-04-26 10:16:05 (GMT)
committerDavid Hebbeker <david@hebbeker.info>2020-05-05 16:29:22 (GMT)
commitb5a2d0b03fe7de2570a9b6d326be7062b774c506 (patch)
treeb2732e25fbb17d18e4525375b1778ea653dc4e42 /src/groupdef.cpp
parent53373a57b8d548c9c99a46cb723219c62a69b813 (diff)
downloadDoxygen-b5a2d0b03fe7de2570a9b6d326be7062b774c506.zip
Doxygen-b5a2d0b03fe7de2570a9b6d326be7062b774c506.tar.gz
Doxygen-b5a2d0b03fe7de2570a9b6d326be7062b774c506.tar.bz2
Replaced calls to DirDef::append() to DirDef::push_back().
There is no inSort() in current QList or std container. Thus it was replaced by the sequence of adding an item and sorting the list afterwards. (cherry picked from commit 91370bf84ac299fcb773e1b9d81e8f5c56da0725)
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index bff97e0..5af1cbd 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -331,9 +331,12 @@ void GroupDefImpl::addDir(const DirDef *def)
{
if (def->isHidden()) return;
if (Config_getBool(SORT_BRIEF_DOCS))
- m_dirList->inSort(def);
+ {
+ m_dirList->push_back(def);
+ m_dirList->sort();
+ }
else
- m_dirList->append(def);
+ m_dirList->push_back(def);
}
void GroupDefImpl::addPage(PageDef *def)