Fix icon selection highlights

- Change QListView mode to ListMode
- Increase custom icon size
- Reduce grid spacing
- Improve selected icon state composite
This commit is contained in:
Janek Bevendorff
2020-04-28 12:51:38 +02:00
parent 3dcac2c46c
commit 5f9b640da1
6 changed files with 34 additions and 23 deletions

View File

@@ -101,7 +101,6 @@ QModelIndex CustomIconModel::indexFromUuid(const QUuid& uuid) const
int idx = m_iconsOrder.indexOf(uuid);
if (idx > -1) {
return index(idx, 0);
} else {
return QModelIndex();
}
return {};
}