Qt4 - add a button to scroll to currentItem. Close #1443
[vlc.git] / modules / gui / qt4 / components / playlist / panels.hpp
index 1ac3c18..e6b41c4 100644 (file)
@@ -72,7 +72,7 @@ protected:
     friend class PlaylistWidget;
 private:
     QTreeView *view;
-    QPushButton *repeatButton , *randomButton,*addButton;
+    QPushButton *repeatButton, *randomButton, *addButton, *gotoPlayingButton;
     ClickLineEdit *searchLine;
     int currentRootId;
     QSignalMapper *ContextUpdateMapper;
@@ -84,6 +84,7 @@ private slots:
     void handleExpansion( const QModelIndex& );
     void toggleRandom();
     void toggleRepeat();
+    void gotoPlayingItem();
     void doPopup( QModelIndex index, QPoint point );
     void search( QString search );
     void clearFilter();