mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
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:
parent
ba751e653e
commit
178eb5927c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue