OTHER: Fixed mistake in fix for BUG 1963
This commit is contained in:
parent
ca0582e1cc
commit
1bc5d6fb02
1 changed files with 1 additions and 2 deletions
|
@ -122,13 +122,12 @@ PlaylistModel::handle_pls_loaded (const std::string &name)
|
||||||
bool
|
bool
|
||||||
PlaylistModel::handle_update_positions (const Xmms::Dict &pos)
|
PlaylistModel::handle_update_positions (const Xmms::Dict &pos)
|
||||||
{
|
{
|
||||||
|
|
||||||
QString changed_pl = XClient::stdToQ (pos.get<std::string> ("name"));
|
QString changed_pl = XClient::stdToQ (pos.get<std::string> ("name"));
|
||||||
if (changed_pl == m_name) {
|
if (changed_pl == m_name) {
|
||||||
uint32_t newpos = pos.get<uint32_t> ("position");
|
uint32_t newpos = pos.get<uint32_t> ("position");
|
||||||
return handle_update_pos (newpos);
|
return handle_update_pos (newpos);
|
||||||
}
|
}
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue