]> git.sesse.net Git - vlc/commitdiff
Qt: Remove the gotoPlaying button, as noone understood it.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 29 Nov 2009 23:39:50 +0000 (00:39 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 4 Dec 2009 06:21:40 +0000 (07:21 +0100)
modules/gui/qt4/components/playlist/panels.hpp
modules/gui/qt4/components/playlist/standardpanel.cpp

index 42694097d1c5a84e8e9d58dcf5c7469eb1557554..f65ad4afb5c14b7690ab1f8b2709e0a56f0ee576 100644 (file)
@@ -62,7 +62,7 @@ private:
     QWidget *parent;
     QLabel *title;
     QTreeView *view;
-    QPushButton *addButton, *gotoPlayingButton;
+    QPushButton *addButton;
     int currentRootId;
     QSignalMapper *selectColumnsSigMapper;
 
index 046b44acce52d3f9ca1ca54f2584ad422a79150e..2de4c8b65324772f9a591f1db3f96590ea0de429 100644 (file)
@@ -132,12 +132,6 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
     BUTTONACT( addButton, popupAdd() );
     layout->addWidget( addButton, 0, 2 );
 
-    /* Goto */
-    gotoPlayingButton = new QPushButton;
-    BUTTON_SET_ACT_I( gotoPlayingButton, "", buttons/playlist/jump_to,
-            qtr( "Show the current item" ), gotoPlayingItem() );
-    layout->addWidget( gotoPlayingButton, 0, 3 );
-
     /* Finish the layout */
     layout->addWidget( view, 1, 0, 1, -1 );
 
@@ -152,6 +146,7 @@ StandardPLPanel::~StandardPLPanel()
     getSettings()->endGroup();
 }
 
+/* Unused anymore, but might be useful, like in right-click menu */
 void StandardPLPanel::gotoPlayingItem()
 {
     view->scrollTo( model->currentIndex() );