Commit 74efe0a4 authored by Eric Armbruster's avatar Eric Armbruster
Browse files

Use the icon from toolview also for the config page

This increases re-recognizability for users.
parent 65cd6a87
Pipeline #202016 passed with stage
in 3 minutes and 55 seconds
......@@ -90,7 +90,7 @@ QString KateFileBrowserConfigPage::fullName() const
QIcon KateFileBrowserConfigPage::icon() const
{
return QIcon::fromTheme(QStringLiteral("document-open"));
return QIcon::fromTheme(QStringLiteral("document-open-folder"));
}
void KateFileBrowserConfigPage::apply()
......
......@@ -143,7 +143,7 @@ QString KateFileTreeConfigPage::fullName() const
QIcon KateFileTreeConfigPage::icon() const
{
return QIcon::fromTheme(QLatin1String("view-list-tree"));
return QIcon::fromTheme(QLatin1String("document-open"));
}
void KateFileTreeConfigPage::apply()
......
......@@ -606,7 +606,7 @@ QString KateKonsoleConfigPage::fullName() const
QIcon KateKonsoleConfigPage::icon() const
{
return QIcon::fromTheme(QStringLiteral("utilities-terminal"));
return QIcon::fromTheme(QStringLiteral("dialog-scripts"));
}
void KateKonsoleConfigPage::apply()
......
......@@ -142,7 +142,7 @@ QString KateProjectConfigPage::fullName() const
QIcon KateProjectConfigPage::icon() const
{
return QIcon::fromTheme(QLatin1String("preferences-git"), QIcon::fromTheme(QLatin1String("view-list-tree")));
return QIcon::fromTheme(QLatin1String("project-open"), QIcon::fromTheme(QLatin1String("view-list-tree")));
}
void KateProjectConfigPage::apply()
......
......@@ -46,6 +46,11 @@ QString ReplicodeConfigPage::fullName() const
return i18n("Replicode configuration");
}
QIcon ReplicodeConfigPage::icon() const
{
return QIcon::fromTheme(QLatin1String("code-block"));
}
void ReplicodeConfigPage::apply()
{
KConfigGroup config(KSharedConfig::openConfig(), QStringLiteral("Replicode"));
......
......@@ -19,6 +19,7 @@ public:
QString name() const override;
QString fullName() const override;
QIcon icon() const override;
public Q_SLOTS:
void apply() override;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment