replace ProxySongList with NC::List and SongList

This commit is contained in:
Andrzej Rybczak
2015-05-10 12:14:56 +02:00
parent a7dab01eff
commit a8e2ec5ed0
32 changed files with 951 additions and 766 deletions

View File

@@ -106,14 +106,14 @@ void SelectedItemsAdder::switchTo()
using Global::myScreen;
auto hs = hasSongs(myScreen);
if (!hs || !hs->allowsSelection())
if (!hs)
return;
Statusbar::print(1, "Fetching selected songs...");
m_selected_items = hs->getSelectedSongs();
if (m_selected_items.empty())
{
Statusbar::print("List of selected items is empty");
Statusbar::print("No selected songs");
return;
}
populatePlaylistSelector(myScreen);