diff options
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index 49fb4d9..3fd542f 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -1758,20 +1758,18 @@ static void addDirsAsGroups(Directory *root,GroupDef *parent,int level) GroupDef *gd=0; if (root->kind()==DirEntry::Dir) { - gd = createGroupDef("[generated]", + gd = Doxygen::groupLinkedMap->add(root->path(), + std::unique_ptr<GroupDef>( + createGroupDef("[generated]", 1, root->path(), // name root->name() // title - ); + ))); if (parent) { parent->addGroup(gd); gd->makePartOfGroup(parent); } - else - { - Doxygen::groupSDict->append(root->path(),gd); - } } QListIterator<DirEntry> dli(root->children()); DirEntry *de; |