Commit 178eb592 authored by George Vogiatzis's avatar George Vogiatzis Committed by Nate Graham
Browse files

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
parent ba751e65
......@@ -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
......
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