mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 21:46:03 +03:00
parent
2099b7c6a0
commit
9d7db88fcb
1 changed files with 4 additions and 0 deletions
|
@ -169,6 +169,10 @@ void FolderViewDelegate::paint(QPainter *painter, const QStyleOptionViewItem &op
|
|||
|
||||
painter->drawPixmap(QPoint(statusRect.left(), statusRect.top()), statusIcon.pixmap(48,48));
|
||||
|
||||
if ((option.state & QStyle::State_Selected) && (option.state & QStyle::State_Active))
|
||||
painter->setPen(option.palette.color(QPalette::HighlightedText));
|
||||
else
|
||||
painter->setPen(option.palette.color(QPalette::Text));
|
||||
painter->setFont(aliasFont);
|
||||
painter->drawText(aliasRect, aliasText);
|
||||
|
||||
|
|
Loading…
Reference in a new issue