diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-05-13 05:28:30 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2011-05-13 05:28:30 (GMT) |
commit | 576d577438f1193bbc934e904b809d5b23b8d54e (patch) | |
tree | 900f0de9c10ed59b48f1eab73de1447615d49630 /src/gui/mac | |
parent | f69e465e15930ef02dceba7175eed6f3f1df070e (diff) | |
download | Qt-576d577438f1193bbc934e904b809d5b23b8d54e.zip Qt-576d577438f1193bbc934e904b809d5b23b8d54e.tar.gz Qt-576d577438f1193bbc934e904b809d5b23b8d54e.tar.bz2 |
ListViews loses items if all visible items are removed.
Occurs when at end of list and all visible items are removed in
multiple steps, without entering the event loop.
We were not updating visibleIndex if there were no visible items
when handling itemsRemoved().
Also avoid skipping items in refill if there are no valid visible
items for reference.
Change-Id: I2ff58fb191f6b053f33d5446220d597eb15b66d4
Task-number: QTBUG-19198
Reviewed-by: Bea Lam
Diffstat (limited to 'src/gui/mac')
0 files changed, 0 insertions, 0 deletions