Dont animate items that when neithe rthe old or new y position is within the visible...
commit4f30ce2302be11a7274b19fdb7bb5359dc1fa7bd
authornhnielsen <nhnielsen@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Wed, 17 Oct 2007 10:41:53 +0000 (17 10:41 +0000)
committernhnielsen <nhnielsen@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Wed, 17 Oct 2007 10:41:53 +0000 (17 10:41 +0000)
treef42b082700c92fb6134558e91f3dbf4f7397a463
parenta7e1fe86b4f1aa36f04ecc13b84b11683f9b3be1
Dont animate items that when neithe rthe old or new y position is within the visible area of the playlist. This change actually makes the playlist usable with a large number of tracks ( I tested it with just over 3000 tracks ). The only really bad performance problem with the playlist right now is collapsing and expanding albms wiht a large umber of tracks. 10-20 tracks are almost instantanious, but collapsing someting with about 100 tracks (yeah, kind of a corner case) takes 10-20 seconds...

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/extragear/multimedia/amarok@726256 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
src/playlist/PlaylistGraphicsView.cpp