throw away unused function (MediaLibrary::SortSongsByYear())

master
Andrzej Rybczak 16 years ago
parent 95a649482b
commit e9cd9c89ec
  1. 5
      src/media_library.cpp
  2. 1
      src/media_library.h

@ -710,11 +710,6 @@ bool MediaLibrary::SearchConstraintsSorting::operator()(const SearchConstraints
return (result == 0 ? cmp(a.Album, b.Album) : result) < 0;
}
bool MediaLibrary::SortSongsByYear(Song *a, Song *b)
{
return a->GetDate() < b->GetDate();
}
bool MediaLibrary::SortSongsByTrack(Song *a, Song *b)
{
if (a->GetDisc() == b->GetDisc())

@ -87,7 +87,6 @@ class MediaLibrary : public Screen<Window>
static void DisplayAlbums(const SearchConstraints &, void *, Menu<SearchConstraints> *);
static bool SortSongsByTrack(MPD::Song *, MPD::Song *);
static bool SortSongsByYear(MPD::Song *, MPD::Song *);
static bool hasTwoColumns;
static size_t itsLeftColWidth;

Loading…
Cancel
Save