diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2008-03-07 19:55:05 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2008-03-07 19:55:05 (GMT) |
commit | b43cd6311a712c01c2c8297fa00809730e504d70 (patch) | |
tree | 74a4cb6c6c83c3b41a92ba1da8df0235abd2dafe /src/docsets.cpp | |
parent | 95fd5f1c991ee66f7122801276a133ebfce86aaa (diff) | |
download | Doxygen-b43cd6311a712c01c2c8297fa00809730e504d70.zip Doxygen-b43cd6311a712c01c2c8297fa00809730e504d70.tar.gz Doxygen-b43cd6311a712c01c2c8297fa00809730e504d70.tar.bz2 |
Release-1.5.5-20080307
Diffstat (limited to 'src/docsets.cpp')
-rw-r--r-- | src/docsets.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/docsets.cpp b/src/docsets.cpp index 86fe54e..f9f5114 100644 --- a/src/docsets.cpp +++ b/src/docsets.cpp @@ -129,8 +129,7 @@ void DocSets::initialize() err("Could not open file %s for writing\n",notes.data()); exit(1); } - QCString indexName="index"; - if (Config_getBool("GENERATE_TREEVIEW")) indexName="main"; + QCString indexName=usingTreeIndex()?"main":"index"; m_nts.setDevice(m_nf); m_nts.setEncoding(QTextStream::UnicodeUTF8); m_nts << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << endl; |