Skip to content

Commit

Permalink
Doxywizard expert page without settings
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
albert-github committed Oct 6, 2020
1 parent 2c7b7cb commit 169f7f0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions addon/doxywizard/expert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 169f7f0

Please sign in to comment.