fix category filtering

I have no idea how this worked at all when I made the commit originally, but it works now, just as well as it did on the prior commit.

Further improvements, using subfolders and other metadata will be in another PR.
Signed-off-by: Tayou <git@tayou.org>
This commit is contained in:
Tayou 2026-06-04 19:07:24 +02:00
parent bbd8c1e745
commit 502a5175e2
No known key found for this signature in database
GPG key ID: AAAF6C17E5E51872

View file

@ -122,7 +122,7 @@ IconPickerDialog::IconPickerDialog(QWidget* parent) : QDialog(parent), ui(new Ui
}
}
proxyModel = new QSortFilterProxyModel(this);
proxyModel = new IconProxyModel(this);
proxyModel->setSourceModel(APPLICATION->icons());
proxyModel->setFilterCaseSensitivity(Qt::CaseInsensitive);
ui->iconView->setModel(proxyModel);