Render incompatibility highlight and warning

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2026-02-12 18:51:27 +00:00
parent 081d2f1e51
commit 9cb33b519f
No known key found for this signature in database
GPG key ID: 5E39D70B4C93C38E
6 changed files with 48 additions and 13 deletions

View file

@ -63,6 +63,8 @@ QVariant TexturePackFolderModel::data(const QModelIndex& index, int role) const
int column = index.column();
switch (role) {
case Qt::BackgroundRole:
return rowBackground(row);
case Qt::DecorationRole: {
if (column == ImageColumn) {
return at(row).image({ 32, 32 }, Qt::AspectRatioMode::KeepAspectRatioByExpanding);