summaryrefslogtreecommitdiffstats
path: root/src/layout.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2011-08-21 08:11:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2011-08-21 08:11:15 (GMT)
commit5c424c553763d3f56f56e3fa3336b0f1f4a3c44a (patch)
tree26df576f6822a144ec9e57d58a5e9cca717ebd7b /src/layout.cpp
parent9be758009e1a4c616377dc33ccf1e55dd8b04d9b (diff)
downloadDoxygen-5c424c553763d3f56f56e3fa3336b0f1f4a3c44a.zip
Doxygen-5c424c553763d3f56f56e3fa3336b0f1f4a3c44a.tar.gz
Doxygen-5c424c553763d3f56f56e3fa3336b0f1f4a3c44a.tar.bz2
Release-1.7.5.1
Diffstat (limited to 'src/layout.cpp')
-rw-r--r--src/layout.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/layout.cpp b/src/layout.cpp
index 0209036..011141b 100644
--- a/src/layout.cpp
+++ b/src/layout.cpp
@@ -895,6 +895,13 @@ class LayoutParser : public QXmlDefaultHandler
theTranslator->trExamplesDescription(),
"examples"
},
+ { "user",
+ LayoutNavEntry::User,
+ QCString(),
+ QCString(),
+ QCString(),
+ "user"
+ },
{ 0, // end of list
(LayoutNavEntry::Kind)0,
QCString(),
@@ -945,6 +952,11 @@ class LayoutParser : public QXmlDefaultHandler
{
intro = mapping[i].intro;
}
+ QCString url = convertToQCString(attrib.value("url"));
+ if (mapping[i].kind==LayoutNavEntry::User && !url.isEmpty())
+ {
+ baseFile=url;
+ }
// create new item and make it the new root
m_rootNav = new LayoutNavEntry(m_rootNav,kind,kind==LayoutNavEntry::MainPage?TRUE:isVisible,baseFile,title,intro);
}