[vlc-devel] commit: Qt: Toggle playlist source on click (Francois Cartegnie )
git version control
git at videolan.org
Tue Jan 5 12:26:42 CET 2010
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec 25 22:41:29 2009 +0100| [ca8a4925583faf5bb820158072c91df5f5fa2165] | committer: Jean-Baptiste Kempf
Qt: Toggle playlist source on click
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ca8a4925583faf5bb820158072c91df5f5fa2165
---
modules/gui/qt4/components/playlist/selector.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp
index 61f6ab7..aca410f 100644
--- a/modules/gui/qt4/components/playlist/selector.cpp
+++ b/modules/gui/qt4/components/playlist/selector.cpp
@@ -122,6 +122,9 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
createItems();
CONNECT( this, itemActivated( QTreeWidgetItem *, int ),
this, setSource( QTreeWidgetItem *) );
+ CONNECT( this, itemClicked( QTreeWidgetItem *, int ),
+ this, setSource( QTreeWidgetItem *) );
+
/* I believe this is unnecessary, seeing
QStyle::SH_ItemView_ActivateItemOnSingleClick
CONNECT( view, itemClicked( QTreeWidgetItem *, int ),
More information about the vlc-devel
mailing list