mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-20 05:16:07 -04:00
parent
1f4c7cc22b
commit
60317ffadd
@ -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…
x
Reference in New Issue
Block a user