summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index 1b3c47e..221356b 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -812,11 +812,10 @@ void GroupDef::writeDocumentation(OutputList &ol)
addGroupListToTitle(ol,this);
endTitle(ol,getOutputFileBase(),title);
-#if 0
- if (Config_getBool("SEARCHENGINE"))
+ if (Doxygen::searchIndex)
{
Doxygen::searchIndex->setCurrentDoc(title,getOutputFileBase());
- static QRegExp we("[a-zA-Z_][a-zA-Z_0-9]*");
+ static QRegExp we("[a-zA-Z_][-a-zA-Z_0-9]*");
int i=0,p=0,l=0;
while ((i=we.match(title,p,&l))!=-1) // foreach word in the title
{
@@ -824,7 +823,8 @@ void GroupDef::writeDocumentation(OutputList &ol)
p=i+l;
}
}
-#endif
+
+ Doxygen::indexList.addIndexItem(this,0,0,title);
if (!Config_getString("GENERATE_TAGFILE").isEmpty())
{