better moving of items
authorRoopesh Chander <roop@forwardbias.in>
Thu, 11 Mar 2010 16:37:04 +0000 (22:07 +0530)
committerRoopesh Chander <roop@forwardbias.in>
Thu, 11 Mar 2010 16:37:04 +0000 (22:07 +0530)
commit61f621a4a4e8d62e2fc8b36eee3507fb80b11384
tree5c98c62eef3093fdc84572c6afa22cf66fbe8fb0
parentd62ae159a59058ed0e6c0f7afdca5c64009387ea
better moving of items

use beginMoveRows() and endMoveRows() so that persistent model
indices are up-to-date, which means even if an item is moved
before it gets loaded, the loading thread can still identify
the item.
listmodel.cpp
listview.cpp