[vlc-commits] Qt: PLTreeView: Fix name encoding in the tooltip

Naohiro KORIYAMA git at videolan.org
Fri Jun 15 16:41:46 CEST 2012


vlc | branch: master | Naohiro KORIYAMA <nkoriyama at gmail.com> | Fri Jun 15 14:17:28 2012 +0900| [112a32a00b30ed7bd07cc5f9b72b30883f590d6d] | committer: Francois Cartegnie

Qt: PLTreeView: Fix name encoding in the tooltip

Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=112a32a00b30ed7bd07cc5f9b72b30883f590d6d
---

 modules/gui/qt4/components/playlist/playlist_model.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index e46a439..609bcbc 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -408,7 +408,7 @@ QVariant PLModel::data( const QModelIndex &index, const int role ) const
             duration = qfu( psz );
             free( psz );
         }
-        name = QString( p_item->psz_name );
+        name = qfu( p_item->psz_name );
         PL_UNLOCK;
         return QVariant( QString("<img width=\"128\" height=\"128\" align=\"left\" src=\"%1\"/><div><b>%2</b><br/>%3</div>")
                          .arg( artUrl )



More information about the vlc-commits mailing list