diff options
author | Ian Walters <ian@walters.id.au> | 2010-04-28 00:59:54 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-06-02 13:25:25 (GMT) |
commit | ad3d90572e2a5ed9ab63553ee3e5be3db5c957a3 (patch) | |
tree | 8f76f3727275267d888a46a82a33abc634933dae /doc/src/snippets/code/src_script_qscriptengineagent.cpp | |
parent | d20d5611aec3eb2c4be1808250f8eed47e0ebf19 (diff) | |
download | Qt-ad3d90572e2a5ed9ab63553ee3e5be3db5c957a3.zip Qt-ad3d90572e2a5ed9ab63553ee3e5be3db5c957a3.tar.gz Qt-ad3d90572e2a5ed9ab63553ee3e5be3db5c957a3.tar.bz2 |
Fix LeftToRight + setSpacing + setWrapping when drag-and-dropping
Quite a number of assumptions in qlistview assume either wrapping or spacing,
but not both. This fixes the Flow left to right case.
The TopToBottom case is not affected. TopToBottom + wrapping still works
TopToBottom + spacing still works, TopToBottom + spacing + wrapping is still
as broken as ever.
Drag move prior to this patch was correct, but also need the drop
to use the spacing when determining what index to apply to, not
just the drag move.
Reviewed-by: gabi
Merge-Request: 586
Task-number: QTBUG-8938
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengineagent.cpp')
0 files changed, 0 insertions, 0 deletions