Loaded icons by theme name and removed the PNGs nothing uses

This commit is contained in:
Jeff Patterson
2026-10-02 05:47:32 -05:00
parent 0d473a3889
commit 6753aa3ce7
211 changed files with 97 additions and 373 deletions
+2 -2
View File
@@ -255,9 +255,9 @@ bool ElementsPanel::matchesFilter(const QTreeWidgetItem *item,
*/
void ElementsPanel::reload()
{
QIcon system_icon(":/ico/16x16/qet.png");
QIcon system_icon = QIcon::fromTheme("qet");
QIcon company_icon = QET::Icons::Company;
QIcon user_icon(":/ico/16x16/go-home.png");
QIcon user_icon = QIcon::fromTheme("go-home");
// load the common title block templates collection
TitleBlockTemplatesCollection *common_tbt_collection = QETApp::commonTitleBlockTemplatesCollection();