Commit 01040ac1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Typo in [1b9f9692]

parent 1b9f9692
......@@ -161,7 +161,7 @@ void PLSelector::setSource( QTreeWidgetItem *item )
bool sd_loaded;
if( i_type == SD_TYPE )
{
QString qs = item->data( 0, LONGNAME_ROLE ).toString();
QString qs = item->data( 0, NAME_ROLE ).toString();
sd_loaded = playlist_IsServicesDiscoveryLoaded( THEPL, qtu( qs ) );
if( !sd_loaded )
playlist_ServicesDiscoveryAdd( THEPL, qtu( qs ) );
......@@ -173,7 +173,7 @@ void PLSelector::setSource( QTreeWidgetItem *item )
if( i_type == SD_TYPE )
{
pl_item = playlist_ChildSearchName( THEPL->p_root, qtu( item->data(0, NAME_ROLE ).toString() ) );
pl_item = playlist_ChildSearchName( THEPL->p_root, qtu( item->data(0, LONGNAME_ROLE ).toString() ) );
if( item->data( 0, SPECIAL_ROLE ).toInt() == IS_PODCAST )
{
if( pl_item && !sd_loaded )
......
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