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:
@@ -249,8 +249,7 @@ CommonOptionsPage::CommonOptionsPage()
|
||||
setDisplayName(QCoreApplication::translate("Debugger", "General"));
|
||||
setCategory(DEBUGGER_SETTINGS_CATEGORY);
|
||||
setDisplayCategory(QCoreApplication::translate("Debugger", "Debugger"));
|
||||
setCategoryIcon(Icon({{":/debugger/images/settingscategory_debugger.png",
|
||||
Theme::PanelTextColorDark}}, Icon::Tint));
|
||||
setCategoryIconPath(":/debugger/images/settingscategory_debugger.png");
|
||||
setWidgetCreator([] { return new CommonOptionsPageWidget; });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user