Change drop indicator color

Summary:
Change drop indicator color form highlight to text.
This makes more visible, when indicator is adjacent to a highlight
item, of a list.

BUG: 415010

Test Plan:
Before vs After
{F7974679}

Reviewers: #dolphin, #vdg, elvisangelaccio, ngraham

Reviewed By: #dolphin, #vdg, ngraham

Subscribers: meven, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D26936
This commit is contained in:
George Vogiatzis 2020-01-27 09:40:57 -07:00 committed by Nate Graham
parent ba751e653e
commit 178eb5927c

View file

@ -675,7 +675,7 @@ void KItemListView::paint(QPainter* painter, const QStyleOptionGraphicsItem* opt
if (!m_dropIndicator.isEmpty()) {
const QRectF r = m_dropIndicator.toRect();
QColor color = palette().brush(QPalette::Normal, QPalette::Highlight).color();
QColor color = palette().brush(QPalette::Normal, QPalette::Text).color();
painter->setPen(color);
// TODO: The following implementation works only for a vertical scroll-orientation