diff options
| author | Rafael Fernández López <[email protected]> | 2007-12-06 16:51:43 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-12-06 16:51:43 +0000 |
| commit | 848b3eb6219706b7e83ad1567087c40144b92827 (patch) | |
| tree | f4544e018d721abdd707189d9d3af11c0d9ce14c /src | |
| parent | 1ec3860a264df856b206336f412e95ada4fb524a (diff) | |
Fix palette problem as workaround. This is needed if the categorization is enabled
svn path=/trunk/KDE/kdebase/apps/; revision=745630
Diffstat (limited to 'src')
| -rw-r--r-- | src/kcategorizedview.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kcategorizedview.cpp b/src/kcategorizedview.cpp index c062b12b3..8d1f93d5b 100644 --- a/src/kcategorizedview.cpp +++ b/src/kcategorizedview.cpp @@ -695,6 +695,9 @@ void KCategorizedView::paintEvent(QPaintEvent *event) } QStyleOptionViewItemV3 option = viewOptions(); + option.palette = palette(); // viewOptions() doesn't seem to return the correct palette + // if the app was already running and the color scheme was changed + // (ereslibre) option.widget = this; if (wordWrap()) { |
