diff --git a/documentation/qthelp/qthelpconfig.h b/documentation/qthelp/qthelpconfig.h --- a/documentation/qthelp/qthelpconfig.h +++ b/documentation/qthelp/qthelpconfig.h @@ -45,6 +45,8 @@ bool checkNamespace(const QString &filename, QTreeWidgetItem* modifiedItem); + KDevelop::ConfigPage::ConfigPageType configPageType() const; + QString name() const override; QIcon icon() const override; diff --git a/documentation/qthelp/qthelpconfig.cpp b/documentation/qthelp/qthelpconfig.cpp --- a/documentation/qthelp/qthelpconfig.cpp +++ b/documentation/qthelp/qthelpconfig.cpp @@ -306,6 +306,11 @@ emit changed(); } +KDevelop::ConfigPage::ConfigPageType QtHelpConfig::configPageType() const +{ + return KDevelop::ConfigPage::DocumentationConfigPage; +} + QString QtHelpConfig::name() const { return i18n("QtHelp Documentation"); @@ -313,7 +318,7 @@ QIcon QtHelpConfig::icon() const { - return QIcon::fromTheme(QStringLiteral("help-contents")); + return QIcon::fromTheme(QStringLiteral("qtlogo")); } QTreeWidgetItem * QtHelpConfig::addTableItem(const QString &icon, const QString &name,