summaryrefslogtreecommitdiffstats
path: root/src/sqlite3gen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-31 16:53:20 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2018-12-31 16:53:20 (GMT)
commit7b4c4577ef836deada725ffb76ed1248b52e9cda (patch)
treedb7867595eaa3f8b39f96ad92b6a322673adbbfc /src/sqlite3gen.cpp
parent450afb801fe3aa0a9c820070f4b0f00f09e984ea (diff)
downloadDoxygen-7b4c4577ef836deada725ffb76ed1248b52e9cda.zip
Doxygen-7b4c4577ef836deada725ffb76ed1248b52e9cda.tar.gz
Doxygen-7b4c4577ef836deada725ffb76ed1248b52e9cda.tar.bz2
Moved check for page having a title to hasTitle() method
Diffstat (limited to 'src/sqlite3gen.cpp')
-rw-r--r--src/sqlite3gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqlite3gen.cpp b/src/sqlite3gen.cpp
index a7b8dbb..eceea06 100644
--- a/src/sqlite3gen.cpp
+++ b/src/sqlite3gen.cpp
@@ -2478,7 +2478,7 @@ static void generateSqlite3ForPage(const PageDef *pd,bool isExample)
QCString title;
if (pd==Doxygen::mainPage) // main page is special
{
- if (!pd->title().isEmpty() && pd->title().lower()!="notitle")
+ if (mainPageHasTitle())
{
title = filterTitle(convertCharEntitiesToUTF8(Doxygen::mainPage->title()));
}