diff options
| author | Emmanuel Pescosta <[email protected]> | 2012-08-14 22:02:24 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2012-08-15 15:04:55 +0200 |
| commit | 15b687a27065f466f5f0469a2b653a87ca61d055 (patch) | |
| tree | 236db6ff708e5c64714b6067886c31bee8ac1553 /src/kitemviews/kstandarditemlistwidget.h | |
| parent | ab61d9d3ba40e5a5869ab02907b4b14921118924 (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
FIXED-IN: 4.9.1
(cherry picked from commit b3c3da985159a9627c079ad615cd77fc5f7bb72a)
Diffstat (limited to 'src/kitemviews/kstandarditemlistwidget.h')
| -rw-r--r-- | src/kitemviews/kstandarditemlistwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kstandarditemlistwidget.h b/src/kitemviews/kstandarditemlistwidget.h index 462d83d0f..787722ddd 100644 --- a/src/kitemviews/kstandarditemlistwidget.h +++ b/src/kitemviews/kstandarditemlistwidget.h @@ -120,7 +120,7 @@ protected: */ virtual QFont customizedFont(const QFont& baseFont) const; - virtual QPalette::ColorRole normalTextColorPalette() const; + virtual QPalette::ColorRole normalTextColorRole() const; void setTextColor(const QColor& color); QColor textColor() const; |
