[vlc-commits] Qt: fix missing slot (playlist entry of popupmenu)

Erwan Tulou git at videolan.org
Wed Jun 11 14:55:44 CEST 2014


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Wed Jun 11 12:43:47 2014 +0200| [4107b253d4ddbe6d21b8038cb11193eb3bcef21a] | committer: Erwan Tulou

Qt: fix missing slot (playlist entry of popupmenu)

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

 modules/gui/qt4/components/playlist/playlist_model.hpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_model.hpp b/modules/gui/qt4/components/playlist/playlist_model.hpp
index 1369eec..33cfd68 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.hpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.hpp
@@ -107,9 +107,6 @@ public:
     virtual bool action( QAction *action, const QModelIndexList &indexes );
     virtual bool isSupportedAction( actions action, const QModelIndex & ) const;
 
-    /* VLCModelSubInterface indirect slots */
-    virtual void activateItem( const QModelIndex &index );
-
 protected:
     /* VLCModel subclassing */
     bool isParent( const QModelIndex &index, const QModelIndex &current) const;
@@ -164,6 +161,7 @@ private slots:
     void processItemRemoval( int i_pl_itemid );
     void processItemAppend( int i_pl_itemid, int i_pl_itemidparent );
     void activateItem( playlist_item_t *p_item );
+    void activateItem( const QModelIndex &index );
 };
 
 class PlMimeData : public QMimeData



More information about the vlc-commits mailing list