From 292e732ff91843c0c60c35f6cd2445ad23c96503 Mon Sep 17 00:00:00 2001 From: Rafael Fernández López Date: Fri, 13 Jul 2007 03:09:14 +0000 Subject: It would be nice if we fill correctly option views :) svn path=/trunk/KDE/kdebase/apps/; revision=687151 --- src/kcategorizedview.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kcategorizedview.cpp') diff --git a/src/kcategorizedview.cpp b/src/kcategorizedview.cpp index c12f50e23..39e2e4b3f 100644 --- a/src/kcategorizedview.cpp +++ b/src/kcategorizedview.cpp @@ -565,6 +565,7 @@ void KCategorizedView::paintEvent(QPaintEvent *event) } QStyleOptionViewItemV3 option = viewOptions(); + option.widget = this; QPainter painter(viewport()); QRect area = event->rect(); const bool focus = (hasFocus() || viewport()->hasFocus()) && -- cgit v1.3