fixed: reset scroll offset when song changed
This commit is contained in:
parent
e91398d77b
commit
1c819b3b41
3 changed files with 19 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue