Commit 4dd2e325 authored by Erwan Tulou's avatar Erwan Tulou

skins2: simplify playlist title

Use 'input_item_GetTitleFbName', since this is actually the function used
to display title in the qt4 playlist.
parent 0097e738
......@@ -357,14 +357,7 @@ fin:
UString* Playtree::getTitle( input_item_t *pItem )
{
char *psz_name = input_item_GetTitle( pItem );
if( EMPTY_STR( psz_name ) )
{
free( psz_name );
psz_name = input_item_GetName( pItem );
}
if( !psz_name )
psz_name = strdup ( "" );
char *psz_name = input_item_GetTitleFbName( pItem );
UString *pTitle = new UString( getIntf(), psz_name );
free( psz_name );
return pTitle;
......
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