diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2009-02-13 22:27:26 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-02-13 22:27:26 +0100 |
commit | 6e167d67e2ccaa3f67ac82d1077505d985d8c6fa (patch) | |
tree | a794307b3b6575df7c6f1e287df81c5766f9c30f /src/helpers.cpp | |
parent | 08e162f6aca70ae28e101d3f3ce217ca4dfa538d (diff) |
change namespace Playlist into class
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; |