[vlc-devel] commit: Qt4: display the select SD in playlist. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Sep 7 00:04:55 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Sep 6 21:32:15 2009 +0200| [4bc32868fa1370aa4bbeeb1d06d9efa62f0c5408] | committer: Jean-Baptiste Kempf
Qt4: display the select SD in playlist.
Maybe playlist_ServicesDiscoveryAdd could return the playlist_item_t* ?
This is ugly, and should be fixed.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4bc32868fa1370aa4bbeeb1d06d9efa62f0c5408
---
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 dd5462d..d989931 100644
--- a/modules/gui/qt4/components/playlist/selector.cpp
+++ b/modules/gui/qt4/components/playlist/selector.cpp
@@ -83,8 +83,8 @@ void PLSelector::setSource( QTreeWidgetItem *item )
if( !playlist_IsServicesDiscoveryLoaded( THEPL, qtu( qs ) ) )
{
playlist_ServicesDiscoveryAdd( THEPL, qtu( qs ) );
- //FIXME we should return the playlist_item_t;
- emit NULL;
+#warning FIXME
+ emit activated( THEPL->p_root_category->pp_children[THEPL->p_root_category->i_children-1] );
}
}
else if( i_type == PL_TYPE || i_type == ML_TYPE )
More information about the vlc-devel
mailing list