mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-23 16:28:19 +01:00
Merge pull request #5050 from narunlifescience/master
make library view sort line themable
This commit is contained in:
commit
cc1b504bec
@ -101,7 +101,9 @@ void LibraryItemDelegate::paint(QPainter* painter,
|
||||
painter->drawText(text_rect, text);
|
||||
|
||||
// Draw the line under the item
|
||||
QPen line_pen(opt.palette.color(QPalette::Dark));
|
||||
QColor line_color = opt.palette.color(QPalette::Text);
|
||||
line_color.setAlpha(100);
|
||||
QPen line_pen(line_color);
|
||||
line_pen.setWidth(2);
|
||||
|
||||
painter->setPen(line_pen);
|
||||
|
Loading…
Reference in New Issue
Block a user