From: Rafael Fernández López Date: Thu, 6 Dec 2007 11:57:16 +0000 (+0000) Subject: Fix the problem of the palette not being updated... this is a workaround. It should... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/f0f5cfdbfda7f7b2897e61148f54eeed1bcf6be8?ds=inline Fix the problem of the palette not being updated... this is a workaround. It should have been done automatically svn path=/trunk/KDE/kdebase/apps/; revision=745558 --- diff --git a/src/kcategorizedview.cpp b/src/kcategorizedview.cpp index 7018b33bc..3569e113a 100644 --- a/src/kcategorizedview.cpp +++ b/src/kcategorizedview.cpp @@ -24,12 +24,12 @@ #include // trunc on C99 compliant systems #include // trunc for not C99 compliant systems -#include #include #include #include #include +#include #include "kcategorydrawer.h" #include "kcategorizedsortfilterproxymodel.h" @@ -696,6 +696,7 @@ void KCategorizedView::paintEvent(QPaintEvent *event) } QStyleOptionViewItemV3 option = viewOptions(); + option.palette = KApplication::palette(); option.widget = this; if (wordWrap()) {