[vlc-devel] commit: De-uglify root SD item name (part 2) ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Feb 4 19:12:55 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb  4 20:08:29 2010 +0200| [1b9f9692f91dcf0659919b16551389e0dbf96412] | committer: Rémi Denis-Courmont 

De-uglify root SD item name (part 2)

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

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

diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h
index 4b02f2b..7399947 100644
--- a/include/vlc_plugin.h
+++ b/include/vlc_plugin.h
@@ -120,8 +120,8 @@ enum vlc_module_properties
 /**
  * Current plugin ABI version
  */
-# define MODULE_SYMBOL 1_1_0f
-# define MODULE_SUFFIX "__1_1_0f"
+# define MODULE_SYMBOL 1_1_0g
+# define MODULE_SUFFIX "__1_1_0g"
 
 /*****************************************************************************
  * Add a few defines. You do not want to read this section. Really.
diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp
index 4c4d8d7..af8c534 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, NAME_ROLE ).toString();
+        QString qs = item->data( 0, LONGNAME_ROLE ).toString();
         sd_loaded = playlist_IsServicesDiscoveryLoaded( THEPL, qtu( qs ) );
         if( !sd_loaded )
             playlist_ServicesDiscoveryAdd( THEPL, qtu( qs ) );




More information about the vlc-devel mailing list