From f0f5cfdbfda7f7b2897e61148f54eeed1bcf6be8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Thu, 6 Dec 2007 11:57:16 +0000 Subject: [PATCH] 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 --- src/kcategorizedview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()) { -- 2.47.3