diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2012-08-27 23:22:15 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2012-08-28 00:09:39 +0200 |
commit | a270fc8402a2c7644f7cde10ca5711dcfc281326 (patch) | |
tree | 38a66bfd4b97ca7e6d5bb5664816ee87e168428e /src/sel_items_adder.cpp | |
parent | e0e787716f2fc22021c837cd93eb647ce9440b26 (diff) |
rewrite MPD::Song object
Diffstat (limited to 'src/sel_items_adder.cpp')
-rw-r--r-- | src/sel_items_adder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sel_items_adder.cpp b/src/sel_items_adder.cpp index 0ef44bc5..0ed178d6 100644 --- a/src/sel_items_adder.cpp +++ b/src/sel_items_adder.cpp @@ -227,10 +227,10 @@ void SelectedItemsAdder::EnterPressed() } else if (pos == 3) // after currently playing album { - std::string album = myPlaylist->NowPlayingSong()->GetAlbum(); + std::string album = myPlaylist->NowPlayingSong()->getAlbum(); int i; for (i = Mpd.GetCurrentlyPlayingSongPos()+1; i < int(myPlaylist->Items->Size()); ++i) - if ((*myPlaylist->Items)[i].GetAlbum() != album) + if ((*myPlaylist->Items)[i].getAlbum() != album) break; successful_operation = myPlaylist->Add(list, 0, i); } |