diff options
| author | Peter Penz <[email protected]> | 2012-03-20 13:22:12 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-03-20 17:23:27 +0100 |
| commit | 0dcb51b927f70afa6cba0b9185abb1f323052696 (patch) | |
| tree | 55aaa4e94cf24f03c3e967a63f4db28608c33caa /src/kitemviews/kitemlistview.h | |
| parent | 5798e081f52371b9fd91cf0348cc946ebcc28a4a (diff) | |
Fix alternate background issue
When items get inserted or deleted, the alternate background
must be updated.
Diffstat (limited to 'src/kitemviews/kitemlistview.h')
| -rw-r--r-- | src/kitemviews/kitemlistview.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kitemviews/kitemlistview.h b/src/kitemviews/kitemlistview.h index 8f6e11e38..bbdb4081c 100644 --- a/src/kitemviews/kitemlistview.h +++ b/src/kitemviews/kitemlistview.h @@ -499,6 +499,12 @@ private: int groupIndexForItem(int index) const; /** + * Updates the alternate background for all visible items. + * @see updateAlternateBackgroundForWidget() + */ + void updateAlternateBackgrounds(); + + /** * Updates the alternateBackground-property of the widget dependent * on the state of useAlternateBackgrounds() and the grouping state. */ |
