diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-06-01 13:06:05 +1000 |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-06-01 13:06:05 +1000 |
commit | 91cb226780d05f0f7d8fd1875121427ade52c1a8 (patch) | |
tree | d0e8764e164cfefb8c6c7b7d14502c48cb988a5a /doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp | |
parent | 41e4f2207008888803920df85cdaa6b0af31d428 (diff) | |
download | qt4-tools-91cb226780d05f0f7d8fd1875121427ade52c1a8.tar.gz |
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_sql_models_qsqlquerymodel.cpp')
0 files changed, 0 insertions, 0 deletions