fixed: reset scroll offset when song changed

This commit is contained in:
Bob van Loosen 2012-12-19 23:29:41 +01:00
parent e91398d77b
commit 1c819b3b41
3 changed files with 19 additions and 5 deletions

View file

@ -15,7 +15,7 @@ class CMpdClient : public CThread
~CMpdClient();
virtual void Process();
std::string CurrentSong();
bool CurrentSong(std::string& song);
private:
bool OpenSocket();
@ -26,6 +26,7 @@ class CMpdClient : public CThread
CTcpClientSocket m_socket;
CCondition m_condition;
std::string m_currentsong;
bool m_songchanged;
};