aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/todo
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-01-10 09:33:24 +0100
committerhjk <hjk@qt.io>2020-01-16 09:53:45 +0000
commitd43b793dd87d5c71f127341002811c2358cc4c9c (patch)
treeeae00ef99adea577889c7dc249c248be443e9888 /src/plugins/todo
parent3d7a3b4749abad409663806cadec535fb3a041b6 (diff)
Core: Introduce a IOptionsPage::setCategoryIconPath
Less noise on the user side. Change-Id: I34dea09e8a3c8639f5a7db89b22f8b825b946395 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/todo')
-rw-r--r--src/plugins/todo/optionspage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/todo/optionspage.cpp b/src/plugins/todo/optionspage.cpp
index a39d621892..3a6e13de51 100644
--- a/src/plugins/todo/optionspage.cpp
+++ b/src/plugins/todo/optionspage.cpp
@@ -48,8 +48,7 @@ OptionsPage::OptionsPage(const Settings &settings, QObject *parent) :
setDisplayName(tr("To-Do"));
setCategory("To-Do");
setDisplayCategory(tr("To-Do"));
- setCategoryIcon(Utils::Icon({{":/todoplugin/images/settingscategory_todo.png",
- Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
+ setCategoryIconPath(":/todoplugin/images/settingscategory_todo.png");
}
void OptionsPage::setSettings(const Settings &settings)