From: Rafael Fernández López Date: Fri, 13 Jul 2007 03:09:14 +0000 (+0000) Subject: It would be nice if we fill correctly option views :) X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/292e732ff91843c0c60c35f6cd2445ad23c96503 It would be nice if we fill correctly option views :) svn path=/trunk/KDE/kdebase/apps/; revision=687151 --- 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()) &&