mpd: get rid of *List typedefs

This commit is contained in:
Andrzej Rybczak
2014-11-03 01:08:20 +01:00
parent 24de827f8b
commit 7bfa120f37
18 changed files with 33 additions and 39 deletions

View File

@@ -241,7 +241,7 @@ ProxySongList PlaylistEditor::contentProxyList()
void PlaylistEditor::AddToPlaylist(bool add_n_play)
{
MPD::SongList list;
std::vector<MPD::Song> list;
if (isActiveWindow(Playlists) && !Playlists.empty())
{
@@ -475,9 +475,9 @@ void PlaylistEditor::reverseSelection()
reverseSelectionHelper(Content.begin(), Content.end());
}
MPD::SongList PlaylistEditor::getSelectedSongs()
std::vector<MPD::Song> PlaylistEditor::getSelectedSongs()
{
MPD::SongList result;
std::vector<MPD::Song> result;
if (isActiveWindow(Playlists))
{
bool any_selected = false;