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: ...@@ -62,7 +62,7 @@ private:
QWidget *parent; QWidget *parent;
QLabel *title; QLabel *title;
QTreeView *view; QTreeView *view;
QPushButton *addButton, *gotoPlayingButton; QPushButton *addButton;
int currentRootId; int currentRootId;
QSignalMapper *selectColumnsSigMapper; QSignalMapper *selectColumnsSigMapper;
......
...@@ -132,12 +132,6 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent, ...@@ -132,12 +132,6 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
BUTTONACT( addButton, popupAdd() ); BUTTONACT( addButton, popupAdd() );
layout->addWidget( addButton, 0, 2 ); 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 */ /* Finish the layout */
layout->addWidget( view, 1, 0, 1, -1 ); layout->addWidget( view, 1, 0, 1, -1 );
...@@ -152,6 +146,7 @@ StandardPLPanel::~StandardPLPanel() ...@@ -152,6 +146,7 @@ StandardPLPanel::~StandardPLPanel()
getSettings()->endGroup(); getSettings()->endGroup();
} }
/* Unused anymore, but might be useful, like in right-click menu */
void StandardPLPanel::gotoPlayingItem() void StandardPLPanel::gotoPlayingItem()
{ {
view->scrollTo( model->currentIndex() ); 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