]> git.sesse.net Git - vlc/commitdiff
Qt: fix missing slot (playlist entry of popupmenu)
authorErwan Tulou <erwan10@videolan.org>
Wed, 11 Jun 2014 10:43:47 +0000 (12:43 +0200)
committerErwan Tulou <erwan10@videolan.org>
Wed, 11 Jun 2014 12:52:06 +0000 (14:52 +0200)
modules/gui/qt4/components/playlist/playlist_model.hpp

index 1369eecaae7f2bdc616b59541219883bed8240e8..33cfd687fbf4c1e9041a868d9077129b6a603c91 100644 (file)
@@ -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