Check if songs are in playlist when displaying them, not up-front
This commit is contained in:
@@ -398,17 +398,6 @@ std::string getSharedDirectory(Iterator first, Iterator last)
|
||||
return result;
|
||||
}
|
||||
|
||||
template <typename ListT>
|
||||
void markSongsInPlaylist(ListT &list)
|
||||
{
|
||||
ScopedUnfilteredMenu<typename ListT::Item::Type> sunfilter(ReapplyFilter::No, list);
|
||||
for (auto &p : static_cast<SongList &>(list))
|
||||
{
|
||||
if (p.song() != nullptr)
|
||||
p.properties().setBold(myPlaylist->checkForSong(*p.song()));
|
||||
}
|
||||
}
|
||||
|
||||
template <typename Iterator>
|
||||
bool addSongsToPlaylist(Iterator first, Iterator last, bool play, int position)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user