diff options
| author | Emmanuel Pescosta <[email protected]> | 2012-08-14 22:02:24 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2012-08-14 22:02:24 +0200 |
| commit | b039392f344f4d8b0a540c542f83e418349a7d4e (patch) | |
| tree | 59ae86ad16d6cc311af065722483ccddd6e94680 /src/panels/places/placesitemlistwidget.cpp | |
| parent | 00935edbdead8955d7f8d0e3ef520139da3f3bec (diff) | |
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
Diffstat (limited to 'src/panels/places/placesitemlistwidget.cpp')
| -rw-r--r-- | src/panels/places/placesitemlistwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/places/placesitemlistwidget.cpp b/src/panels/places/placesitemlistwidget.cpp index 00f0fdab0..e33d1daf9 100644 --- a/src/panels/places/placesitemlistwidget.cpp +++ b/src/panels/places/placesitemlistwidget.cpp @@ -35,7 +35,7 @@ bool PlacesItemListWidget::isHidden() const return data().value("isHidden").toBool(); } -QPalette::ColorRole PlacesItemListWidget::normalTextColorPalette() const +QPalette::ColorRole PlacesItemListWidget::normalTextColorRole() const { return QPalette::WindowText; } |
