[vlc-devel] commit: Typo in [1b9f9692f91dcf0659919b16551389e0dbf96412] ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Feb 4 19:37:09 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb  4 20:35:21 2010 +0200| [01040ac116a0d5ba8437f0db0a43c6b1e6690951] | committer: Rémi Denis-Courmont 

Typo in [1b9f9692f91dcf0659919b16551389e0dbf96412]

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

 modules/gui/qt4/components/playlist/selector.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp
index af8c534..09305f6 100644
--- a/modules/gui/qt4/components/playlist/selector.cpp
+++ b/modules/gui/qt4/components/playlist/selector.cpp
@@ -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 )




More information about the vlc-devel mailing list