Playlist view: tidy up "auto-scroll to active playlist item" code.
authorNanno Langstraat <langstr@gmail.com>
Sat, 10 Apr 2010 23:02:27 +0000 (01:02 +0200)
committerNanno Langstraat <langstr@gmail.com>
Sat, 10 Apr 2010 23:19:00 +0000 (01:19 +0200)
commitf678ea1f481936ec357a6b2bfe0d5f506afa62c5
tree0e8de8b38f974ddcaa40e76dc8937d33f0528dcd
parent8131882eaece0410ec1e167a865ca56698091a3d
Playlist view: tidy up "auto-scroll to active playlist item" code.

  - It's cleaner to let the ListView code handle this all by itself.

  - The new code always scrolls to the active playlist item when Amarok starts
    up, not just when playback is started.
src/playlist/PlaylistActions.cpp
src/playlist/view/listview/PrettyListView.cpp
src/playlist/view/listview/PrettyListView.h