diff options
| author | Rafael Fernández López <[email protected]> | 2007-07-13 03:09:14 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-07-13 03:09:14 +0000 |
| commit | 292e732ff91843c0c60c35f6cd2445ad23c96503 (patch) | |
| tree | 13cb3e75ed2ccbb8dab42cdd9840b8a9d9d639aa /src/kcategorizedview.cpp | |
| parent | 18beab8c6b6735c4d914acaf91837a9540be0e66 (diff) | |
It would be nice if we fill correctly option views :)
svn path=/trunk/KDE/kdebase/apps/; revision=687151
Diffstat (limited to 'src/kcategorizedview.cpp')
| -rw-r--r-- | src/kcategorizedview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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()) && |
