diff options
author | albert-github <albert.tests@gmail.com> | 2020-10-06 13:57:10 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-10-06 13:57:10 (GMT) |
commit | 169f7f0f02541f97ed080634df232e8cc8f3ded8 (patch) | |
tree | c1ba7de427007d012a71119d85c99732d3a1c259 /addon | |
parent | 2c7b7cb90091ea43b42bf4abe886631e073f639b (diff) | |
download | Doxygen-169f7f0f02541f97ed080634df232e8cc8f3ded8.zip Doxygen-169f7f0f02541f97ed080634df232e8cc8f3ded8.tar.gz Doxygen-169f7f0f02541f97ed080634df232e8cc8f3ded8.tar.bz2 |
Doxywizard expert page without settings
In case of not compiling with Sqlite3 the page in the doxywizard regarding Sqlite3 remains empty. This is a bit strange as there is a setting possible (and is present) to make the group also aware of the compilation settings.
Diffstat (limited to 'addon')
-rw-r--r-- | addon/doxywizard/expert.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/addon/doxywizard/expert.cpp b/addon/doxywizard/expert.cpp index c043994..f088199 100644 --- a/addon/doxywizard/expert.cpp +++ b/addon/doxywizard/expert.cpp @@ -139,10 +139,14 @@ void Expert::createTopics(const QDomElement &rootElem) { // Remove _ from a group name like: Source_Browser QString name = childElem.attribute(SA("name")).replace(SA("_"),SA(" ")); - items.append(new QTreeWidgetItem((QTreeWidget*)0,QStringList(name))); - QWidget *widget = createTopicWidget(childElem); - m_topics[name] = widget; - m_topicStack->addWidget(widget); + QString setting = childElem.attribute(SA("setting")); + if (setting.isEmpty() || IS_SUPPORTED(setting.toLatin1())) + { + items.append(new QTreeWidgetItem((QTreeWidget*)0,QStringList(name))); + QWidget *widget = createTopicWidget(childElem); + m_topics[name] = widget; + m_topicStack->addWidget(widget); + } } childElem = childElem.nextSiblingElement(); } |