Commit 013aee5f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: Faster/Slower buttons for whiners.

parent b25d8309
......@@ -101,6 +101,8 @@ res_DEPENDENCIES = \
pixmaps/noart.png \
pixmaps/pause_16px.png \
pixmaps/pause.png \
pixmaps/faster.png \
pixmaps/slower.png \
pixmaps/play_16px.png \
pixmaps/playlist/add.png \
pixmaps/playlist/playlist.png \
......
......@@ -518,14 +518,14 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
slowerButton->setMaximumSize( QSize( 26, 20 ) );
slowerButton->setFocusPolicy( Qt::NoFocus );
BUTTON_SET_ACT( slowerButton, "-", qtr( "Slower" ), slower() );
BUTTON_SET_ACT_I( slowerButton, "", slower, qtr( "Slower" ), slower() );
fasterButton = new QToolButton;
fasterButton->setAutoRaise( true );
fasterButton->setMaximumSize( QSize( 26, 20 ) );
fasterButton->setFocusPolicy( Qt::NoFocus );
BUTTON_SET_ACT( fasterButton, "+", qtr( "Faster" ), faster() );
BUTTON_SET_ACT_I( fasterButton, "", faster, qtr( "Faster" ), faster() );
/* advanced Controls handling */
b_advancedVisible = b_advControls;
......
......@@ -74,6 +74,8 @@
<file alias="pause_b">pixmaps/pause.png</file>
<file alias="play">pixmaps/play_16px.png</file>
<file alias="play_b">pixmaps/play.png</file>
<file alias="faster">pixmaps/faster.png</file>
<file alias="slower">pixmaps/slower.png</file>
<file alias="previous">pixmaps/previous_16px.png</file>
<file alias="previous_b">pixmaps/previous.png</file>
<file alias="stop">pixmaps/stop_16px.png</file>
......
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