[vlc-commits] Qt: menus: correctly connect chapters signals abstraction layer

Francois Cartegnie git at videolan.org
Fri Sep 6 15:24:58 CEST 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Sep  6 15:16:12 2013 +0200| [78390cbc014021a650462ed75f2f67c303ac137a] | committer: Francois Cartegnie

Qt: menus: correctly connect chapters signals abstraction layer

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

 modules/gui/qt4/menus.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 750bed8..6e10bcb 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -1110,7 +1110,7 @@ void VLCMenuBar::PopupMenu( intf_thread_t *p_intf, bool show )
     PLModel *model = PLModel::getPLModel( p_intf );
     plMenu->setModel( model );
     CONNECT( plMenu, activated(const QModelIndex&),
-             model, activateItem(const QModelIndex&));
+             model->sigs, activateItemSlot(const QModelIndex&));
     menu->addMenu( plMenu );
 
     /* Static entries for ending, like open */



More information about the vlc-commits mailing list