diff options
Diffstat (limited to 'src/kcategorizedview.cpp')
| -rw-r--r-- | src/kcategorizedview.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kcategorizedview.cpp b/src/kcategorizedview.cpp index c062b12b3..8d1f93d5b 100644 --- a/src/kcategorizedview.cpp +++ b/src/kcategorizedview.cpp @@ -695,6 +695,9 @@ void KCategorizedView::paintEvent(QPaintEvent *event) } QStyleOptionViewItemV3 option = viewOptions(); + option.palette = palette(); // viewOptions() doesn't seem to return the correct palette + // if the app was already running and the color scheme was changed + // (ereslibre) option.widget = this; if (wordWrap()) { |
