diff options
Diffstat (limited to 'src/helpers.cpp')
-rw-r--r-- | src/helpers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helpers.cpp b/src/helpers.cpp index d0658140..d5aa197b 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -24,12 +24,12 @@ #include "charset.h" #include "global.h" #include "helpers.h" +#include "playlist.h" #include "tag_editor.h" using namespace MPD; using Global::Config; using Global::Mpd; -using Global::mPlaylist; using Global::wFooter; using std::string; @@ -225,9 +225,9 @@ void UpdateSongList(Menu<Song> *menu) bool bold = 0; for (size_t i = 0; i < menu->Size(); i++) { - for (size_t j = 0; j < mPlaylist->Size(); j++) + for (size_t j = 0; j < myPlaylist->Main()->Size(); j++) { - if (mPlaylist->at(j).GetHash() == menu->at(i).GetHash()) + if (myPlaylist->Main()->at(j).GetHash() == menu->at(i).GetHash()) { bold = 1; break; |