mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-03 17:34:12 +02:00
Loaded icons by theme name and removed the PNGs nothing uses
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user