Don't be stupid with m_currentid

This commit is contained in:
Tobias Rundstrom 2006-03-04 16:27:45 -03:00
parent 4c02a3b938
commit 7b5f4f5a38
2 changed files with 2 additions and 3 deletions

View file

@ -84,8 +84,6 @@ XMMSHandler::medialib_entry_changed (XMMSResultValue<uint> *res)
uint i;
res->getValue (&i);
m_currentid = i;
if (i > 0) {
XMMSResultDict *r = m_xmmsc->medialib_get_info (i);
r->connect (sigc::mem_fun (this, &XMMSHandler::medialib_info));
@ -179,6 +177,8 @@ XMMSHandler::playback_current_id (XMMSResultValue<uint> *res)
m_currentid = i;
qDebug ("currentid = %d", m_currentid);
if (i > 0) {
XMMSResultDict *r = m_xmmsc->medialib_get_info (i);
r->connect (sigc::mem_fun (this, &XMMSHandler::medialib_info));