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

@@ -35,6 +35,7 @@
#include <projectexplorer/kit.h>
#include <projectexplorer/kitmanager.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectexplorericons.h>
#include <utils/algorithm.h>
#include <utils/qtcassert.h>
@@ -74,7 +75,7 @@ QbsProfilesSettingsPage::QbsProfilesSettingsPage(QObject *parent)
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 *QbsProfilesSettingsPage::widget()