Commit 52733392 authored by Andreas Traczyk's avatar Andreas Traczyk

smartlist: remove border between smartlist items

Change-Id: Ia476878ac8a7a88b2ec17e4e0b0d9c5b85e60bc2
parent fdc7f9b8
......@@ -116,15 +116,6 @@ SmartListDelegate::paint(QPainter* painter
font.setPointSize(fontSize_);
QPen pen(painter->pen());
// A lightGrey separator is painted at the bottom if the current item is not selected
if (not (opt.state & QStyle::State_Selected)) {
pen.setColor(RingTheme::lightGrey_);
painter->setPen(pen);
painter->drawLine(rect.left() + 20, rect.bottom(),
rect.right() - 20,
rect.bottom());
}
if (index.column() == 0)
{
painter->setPen(pen);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment