summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index f5a280b..b79e55b 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -8587,6 +8587,7 @@ static void findMainPage(Entry *root)
//printf("mainpage: docLine=%d startLine=%d\n",root->docLine,root->startLine);
//printf("Found main page! \n======\n%s\n=======\n",root->doc.data());
QCString title=root->args.stripWhiteSpace();
+ if (title.isEmpty()) title = Config_getString(PROJECT_NAME);
//QCString indexName=Config_getBool(GENERATE_TREEVIEW)?"main":"index";
QCString indexName="index";
Doxygen::mainPage.reset(createPageDef(root->docFile,root->docLine,