X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/1ec3860a264df856b206336f412e95ada4fb524a..e65154552769e648bcbe14429123ff9fcd48bd29:/src/kcategorizedview.cpp 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()) {