]> cloud.milkyroute.net Git - dolphin.git/commitdiff
It would be nice if we fill correctly option views :)
authorRafael Fernández López <ereslibre@kde.org>
Fri, 13 Jul 2007 03:09:14 +0000 (03:09 +0000)
committerRafael Fernández López <ereslibre@kde.org>
Fri, 13 Jul 2007 03:09:14 +0000 (03:09 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=687151

src/kcategorizedview.cpp

index c12f50e23b04ab50e89733a96743a9cfb2d00481..39e2e4b3f9187307eacd31fd93428460844d2f82 100644 (file)
@@ -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()) &&