summaryrefslogtreecommitdiffstats
path: root/src/searchindex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/searchindex.cpp')
-rw-r--r--src/searchindex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/searchindex.cpp b/src/searchindex.cpp
index 5859d67..52378cd 100644
--- a/src/searchindex.cpp
+++ b/src/searchindex.cpp
@@ -117,7 +117,7 @@ void SearchIndex::setCurrentDoc(Definition *ctx,const char *anchor,bool isSource
case Definition::TypePage:
{
PageDef *pd = (PageDef *)ctx;
- if (!pd->title().isEmpty())
+ if (pd->hasTitle())
{
name = theTranslator->trPage(TRUE,TRUE)+" "+pd->title();
}