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:
Thomas Frauendorfer 2008-07-02 19:25:57 +02:00
parent d1a98b5367
commit c0ca792481
8 changed files with 14 additions and 15 deletions

View file

@ -99,7 +99,7 @@ AbstractTimeDisplay::paintEvent (QPaintEvent *event)
paint.drawPixmap (m_d3_x_pos, 0, m_pixmaps[sec/10]);
paint.drawPixmap (m_d4_x_pos, 0, m_pixmaps[sec%10]);
} else {
// Just give up and draw '-' if min would become 100 or bigger
// Just give up and draw '-' if min-variable would become 100 or bigger
paint.drawPixmap (m_d1_x_pos, 0, m_pixmaps[11]);
paint.drawPixmap (m_d2_x_pos, 0, m_pixmaps[11]);
paint.drawPixmap (m_d3_x_pos, 0, m_pixmaps[11]);