Displays playlist names using UTF8
authorRafaël Carré <funman@videolan.org>
Thu, 30 Aug 2007 09:30:03 +0000 (09:30 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 30 Aug 2007 09:30:03 +0000 (09:30 +0000)
modules/gui/qt4/playlist_model.cpp

index 7ac53c5..ddd4eb7 100644 (file)
@@ -194,7 +194,8 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
 
     if( model->i_depth == 1 )  //left window for playlist etc.
     {
-        strings.append( p_item->p_input->psz_name );
+        const QString psz_name = QString::fromUtf8( p_item->p_input->psz_name );
+        strings.append( psz_name );
         return;
     }