ProjectExplorer: Make the Options/Kits Category icon themable

Change-Id: I70c3fffd11b217937d6a85e88da1de688031b8e0
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2018-02-28 18:15:57 +01:00
parent 8c2bac9359
commit 5915779e81
9 changed files with 17 additions and 7 deletions

View File

@@ -33,6 +33,7 @@
#include <extensionsystem/pluginmanager.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectexplorericons.h>
#include <utils/algorithm.h>
#include <utils/asconst.h>
@@ -603,7 +604,7 @@ DebuggerOptionsPage::DebuggerOptionsPage()
setCategory(ProjectExplorer::Constants::KITS_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("ProjectExplorer",
ProjectExplorer::Constants::KITS_SETTINGS_TR_CATEGORY));
setCategoryIcon(Utils::Icon(ProjectExplorer::Constants::KITS_SETTINGS_CATEGORY_ICON));
setCategoryIcon(ProjectExplorer::Icons::OPTIONS_CATEGORY_KITS);
}
QWidget *DebuggerOptionsPage::widget()