mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-31 18:48:48 -04:00
parent
1f4c7cc22b
commit
60317ffadd
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ void CategoryListWidgetDelegate::paint(QPainter* painter,
|
|||
opt.icon = QIcon();
|
||||
opt.decorationAlignment = Qt::AlignHCenter | Qt::AlignVCenter;
|
||||
opt.decorationPosition = QStyleOptionViewItem::Top;
|
||||
opt.decorationSize = iconSize;
|
||||
|
||||
QScopedPointer<QStyle> style(new IconSelectionCorrectedStyle());
|
||||
style->drawControl(QStyle::CE_ItemViewItem, &opt, painter, opt.widget);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue