summaryrefslogtreecommitdiffstats
path: root/src/layout.cpp
diff options
context:
space:
mode:
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);
}