extragear/multimedia/amarok/src

Martin Aumueller aumuell at reserv.at
Tue Nov 21 09:38:46 UTC 2006


This is unintuitive in my opinion: when I want to continue in a text file, I 
have to scroll down. Thus, I also try to scroll down when I want to advance 
in an audio file.

The volume slider is different: you turn up (scroll up) the volume. That it 
progresses from left to right when doing this, is just coincidence.

On Tue November 21 2006 03:14, Alexandre Pereira de Oliveira wrote:
> SVN commit 606613 by aoliveira:
>
> Make Mouse Wheel behavior on time slider consistent with the volume slider,
> and with the systray use as well. (Meaning: up = move ahead, down = move
> back)
>
>
>  M  +2 -2      sliderwidget.cpp
>
>
> --- trunk/extragear/multimedia/amarok/src/sliderwidget.cpp #606612:606613
> @@ -61,10 +61,10 @@
>
>      // Position Slider (horizontal)
>      int step = e->delta() * 1500 / 18;
> -    int nval = QSlider::value() - step;
> +    int nval = QSlider::value() + step;
>      nval = QMAX(nval, minValue());
>      nval = QMIN(nval, maxValue());
> -
> +
>      QSlider::setValue( nval );
>
>      emit sliderReleased( value() );



More information about the Amarok mailing list