diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-06-01 03:06:05 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-06-01 03:06:05 (GMT) |
commit | 91cb226780d05f0f7d8fd1875121427ade52c1a8 (patch) | |
tree | d0e8764e164cfefb8c6c7b7d14502c48cb988a5a /doc/src/snippets/code/src_gui_widgets_qworkspace.cpp | |
parent | 41e4f2207008888803920df85cdaa6b0af31d428 (diff) | |
download | Qt-91cb226780d05f0f7d8fd1875121427ade52c1a8.zip Qt-91cb226780d05f0f7d8fd1875121427ade52c1a8.tar.gz Qt-91cb226780d05f0f7d8fd1875121427ade52c1a8.tar.bz2 |
Avoid refilling view during model change.
The view position is reset to 0 after clear()ing, but this results
in refill() being called, effectively undoing the clear(). Fix is to make
the model invalid before resetting position.
Task-number: QTBUG-11105
Diffstat (limited to 'doc/src/snippets/code/src_gui_widgets_qworkspace.cpp')
0 files changed, 0 insertions, 0 deletions