forked from qt-creator/qt-creator
Core: Introduce a IOptionsPage::setCategoryIconPath
Less noise on the user side. Change-Id: I34dea09e8a3c8639f5a7db89b22f8b825b946395 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -58,8 +58,8 @@ GeneralSettings::GeneralSettings()
|
||||
setDisplayName(tr("Interface"));
|
||||
setCategory(Constants::SETTINGS_CATEGORY_CORE);
|
||||
setDisplayCategory(QCoreApplication::translate("Core", "Environment"));
|
||||
setCategoryIcon(Utils::Icon({{":/core/images/settingscategory_core.png",
|
||||
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
|
||||
setCategoryIconPath(":/core/images/settingscategory_core.png");
|
||||
|
||||
m_defaultShowShortcutsInContextMenu = QGuiApplication::styleHints()
|
||||
->showShortcutsInContextMenus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user