status: fix toggling flags

This commit is contained in:
Andrzej Rybczak
2014-09-03 19:07:55 +02:00
parent 18de4c1e77
commit 06a07b0d33
10 changed files with 72 additions and 149 deletions

View File

@@ -75,11 +75,6 @@ struct Playlist: Screen<NC::Menu<MPD::Song>>, Filterable, HasSongs, Searchable,
void SetSelectedItemsPriority(int prio);
void setStatus(MPD::Status status);
unsigned oldVersion() const;
int currentSongPosition() const;
unsigned currentSongLength() const;
bool checkForSong(const MPD::Song &s);
void registerSong(const MPD::Song &s);
void unregisterSong(const MPD::Song &s);
@@ -102,9 +97,6 @@ private:
size_t m_scroll_begin;
boost::posix_time::ptime m_timer;
MPD::Status m_status;
unsigned m_old_playlist_version;
bool m_reload_total_length;
bool m_reload_remaining;