Commit 112a32a0 authored by Naohiro KORIYAMA's avatar Naohiro KORIYAMA Committed by Francois Cartegnie

Qt: PLTreeView: Fix name encoding in the tooltip

Signed-off-by: default avatarFrancois Cartegnie <fcvlcdev@free.fr>
parent 0dbe1bd3
...@@ -408,7 +408,7 @@ QVariant PLModel::data( const QModelIndex &index, const int role ) const ...@@ -408,7 +408,7 @@ QVariant PLModel::data( const QModelIndex &index, const int role ) const
duration = qfu( psz ); duration = qfu( psz );
free( psz ); free( psz );
} }
name = QString( p_item->psz_name ); name = qfu( p_item->psz_name );
PL_UNLOCK; PL_UNLOCK;
return QVariant( QString("<img width=\"128\" height=\"128\" align=\"left\" src=\"%1\"/><div><b>%2</b><br/>%3</div>") return QVariant( QString("<img width=\"128\" height=\"128\" align=\"left\" src=\"%1\"/><div><b>%2</b><br/>%3</div>")
.arg( artUrl ) .arg( artUrl )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment