diff --git a/src/kcategorizedview.cpp b/src/kcategorizedview.cpp index c062b12b32..8d1f93d5b2 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()) {