Fix wrong text color in Places Group Header. Use QPalette::Window for base color and QPalette::WindowText for text color. Also changed m_roleColor color mixing to 60% (from 70%) -> Better visible color difference when base color is darker than text color. Also changed styleOption().palette.brush(group, role).color() to styleOption().palette.color(group, role) in KStandardItemListWidget -> should be more efficient.
author Emmanuel Pescosta
()
committer Emmanuel Pescosta
()
commit 23194dde3bda67f15f8247ca742640666781e02e
tree a45fb05f9b4be034d4fb3f5d5f04319e1b2d05e8
parent 5ba759b22104fb903c963155fa5fe2d225740c75
Fix wrong text color in Places Group Header. Use QPalette::Window for base color and QPalette::WindowText for text color. Also changed m_roleColor color mixing to 60% (from 70%) -> Better visible color difference when base color is darker than text color. Also changed styleOption().palette.brush(group, role).color() to styleOption().palette.color(group, role) in KStandardItemListWidget -> should be more efficient.

BUG: 303133
FIXED-IN: 4.9.1
(cherry picked from commit b3c3da985159a9627c079ad615cd77fc5f7bb72a)
dolphin/src/kitemviews/kitemlistgroupheader.cpp
dolphin/src/kitemviews/kitemlistgroupheader.h
dolphin/src/kitemviews/kstandarditemlistwidget.cpp
dolphin/src/kitemviews/kstandarditemlistwidget.h
dolphin/src/panels/folders/foldersitemlistwidget.cpp
dolphin/src/panels/folders/foldersitemlistwidget.h
dolphin/src/panels/places/placesitemlistgroupheader.cpp
dolphin/src/panels/places/placesitemlistgroupheader.h
dolphin/src/panels/places/placesitemlistwidget.cpp
dolphin/src/panels/places/placesitemlistwidget.h