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:
@@ -147,8 +147,7 @@ TestSettingsPage::TestSettingsPage(const QSharedPointer<TestSettings> &settings)
|
||||
setDisplayName(tr("General"));
|
||||
setCategory(Constants::AUTOTEST_SETTINGS_CATEGORY);
|
||||
setDisplayCategory(QCoreApplication::translate("AutoTest", Constants::AUTOTEST_SETTINGS_TR));
|
||||
setCategoryIcon(Utils::Icon({{":/autotest/images/settingscategory_autotest.png",
|
||||
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
|
||||
setCategoryIconPath(":/autotest/images/settingscategory_autotest.png");
|
||||
}
|
||||
|
||||
QWidget *TestSettingsPage::widget()
|
||||
|
||||
Reference in New Issue
Block a user