Repeat(Album|Track)Navigator: pick a fallback item if there's nothing better.
authorNanno Langstraat <langstr@gmail.com>
Wed, 24 Mar 2010 15:00:54 +0000 (16:00 +0100)
committerNanno Langstraat <langstr@gmail.com>
Wed, 24 Mar 2010 15:00:54 +0000 (16:00 +0100)
commitb35c4e919022cee52f38f95bd211099e860255cc
tree6b52fbb968e856d1bb6baf919a61c37cd47cf367
parent9a0e238ae028c922b7276ab5b5f1df57d584fe3c
Repeat(Album|Track)Navigator: pick a fallback item if there's nothing better.

This also fixes a bug: PlaylistModel didn't emit signal in clearCommand().
src/playlist/PlaylistModel.cpp
src/playlist/navigators/NonlinearTrackNavigator.cpp
src/playlist/navigators/RepeatAlbumNavigator.cpp
src/playlist/navigators/RepeatTrackNavigator.h
src/playlist/navigators/TrackNavigator.cpp
src/playlist/navigators/TrackNavigator.h