summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-10-06 17:47:23 (GMT)
committerGitHub <noreply@github.com>2020-10-06 17:47:23 (GMT)
commit4fec3a94bb36d09deca5f4762ba8e60d0e28f8d3 (patch)
tree5106206f46e08d498b81fed04d15afc16265aac8 /addon/doxywizard
parent4ed4c194f8a69e5a2f50ed8d5c729804b89eca8a (diff)
parent169f7f0f02541f97ed080634df232e8cc8f3ded8 (diff)
downloadDoxygen-4fec3a94bb36d09deca5f4762ba8e60d0e28f8d3.zip
Doxygen-4fec3a94bb36d09deca5f4762ba8e60d0e28f8d3.tar.gz
Doxygen-4fec3a94bb36d09deca5f4762ba8e60d0e28f8d3.tar.bz2
Merge pull request #8077 from albert-github/feature/bug_doxyw_setting
Doxywizard expert page item without settings
Diffstat (limited to 'addon/doxywizard')
-rw-r--r--addon/doxywizard/expert.cpp12
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();
}