Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/entry/AutoTypeMatchModel.cpp')
-rw-r--r--src/gui/entry/AutoTypeMatchModel.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/entry/AutoTypeMatchModel.cpp b/src/gui/entry/AutoTypeMatchModel.cpp
index 4148ccc66..ac2d0f874 100644
--- a/src/gui/entry/AutoTypeMatchModel.cpp
+++ b/src/gui/entry/AutoTypeMatchModel.cpp
@@ -118,15 +118,11 @@ QVariant AutoTypeMatchModel::data(const QModelIndex& index, int role) const
switch (index.column()) {
case ParentGroup:
if (match.entry->group()) {
- return match.entry->group()->iconScaledPixmap();
+ return match.entry->group()->iconPixmap();
}
break;
case Title:
- if (match.entry->isExpired()) {
- return databaseIcons()->iconPixmap(DatabaseIcons::ExpiredIconIndex);
- } else {
- return match.entry->iconScaledPixmap();
- }
+ return match.entry->iconPixmap();
}
} else if (role == Qt::FontRole) {
QFont font;