mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 05:27:39 +03:00
Convert iconCount() and expiredIconIndex() to constants.
This commit is contained in:
parent
e144f7c85a
commit
baa5a74ba0
7 changed files with 19 additions and 26 deletions
|
@ -134,7 +134,7 @@ QVariant EntryModel::data(const QModelIndex& index, int role) const
|
|||
break;
|
||||
case 1:
|
||||
if (entry->isExpired()) {
|
||||
return databaseIcons()->iconPixmap(databaseIcons()->expiredIconIndex());
|
||||
return databaseIcons()->iconPixmap(DatabaseIcons::ExpiredIconIndex);
|
||||
}
|
||||
else {
|
||||
return entry->iconPixmap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue