mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user