Commit 3c6f6fa7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Remove the gotoPlaying button, as noone understood it.

parent 72ac92a9
......@@ -62,7 +62,7 @@ private:
QWidget *parent;
QLabel *title;
QTreeView *view;
QPushButton *addButton, *gotoPlayingButton;
QPushButton *addButton;
int currentRootId;
QSignalMapper *selectColumnsSigMapper;
......
......@@ -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() );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment