Fix problem with utf-8 charactes in playlist names
If a playlist had utf-8 characters in it's name, promoe couldn't switch to it. Also move another function from XMMSHandler to class in lib
This commit is contained in:
parent
d1a98b5367
commit
c0ca792481
8 changed files with 14 additions and 15 deletions
|
@ -277,7 +277,7 @@ PlaylistView::mouseDoubleClickEvent (QMouseEvent *event)
|
|||
}
|
||||
|
||||
XMMSHandler &xmmsh = XMMSHandler::getInstance ();
|
||||
xmmsh.requestTrackChange (index.row());
|
||||
xmmsh.xplayback ()->setPos (index.row());
|
||||
if (m_status == XMMS_PLAYBACK_STATUS_STOP ||
|
||||
m_status == XMMS_PLAYBACK_STATUS_PAUSE) {
|
||||
xmmsh.xplayback ()->play ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue