forked from qt-creator/qt-creator
Core: Make IOptionsPage::categoryIcon a Utils::Icon
This is necessary for themable + HighDPI icons in the options dialog. Change-Id: I8e3ff87a24591af40bb76b39cd970443d7678fae Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -179,7 +179,7 @@ TestSettingsPage::TestSettingsPage(const QSharedPointer<TestSettings> &settings)
|
||||
setDisplayName(tr("General"));
|
||||
setCategory(Constants::AUTOTEST_SETTINGS_CATEGORY);
|
||||
setDisplayCategory(tr("Test Settings"));
|
||||
setCategoryIcon(QLatin1String(":/images/autotest.png"));
|
||||
setCategoryIcon(Utils::Icon(":/images/autotest.png"));
|
||||
}
|
||||
|
||||
TestSettingsPage::~TestSettingsPage()
|
||||
|
||||
Reference in New Issue
Block a user