diff options
author | mio <stigma@disroot.org> | 2024-11-24 17:21:35 +1000 |
---|---|---|
committer | mio <stigma@disroot.org> | 2024-11-24 17:24:01 +1000 |
commit | 14b52b5a467e1c5be5ecc9d54c252d787294df3c (patch) | |
tree | afaec2d3a886f9ebb6ac29d9361ca521e9e7a2bb /src/app/stateChange.cpp | |
parent | cdea6d11c35d582be11361034cabef468c120a9a (diff) | |
download | codeine-14b52b5a467e1c5be5ecc9d54c252d787294df3c.tar.gz codeine-14b52b5a467e1c5be5ecc9d54c252d787294df3c.zip |
Fix mouse events not changing volume
Using the scroll wheel over the volume slider would not change the
volume, neither would dragging the slider (until released) or clicking
on the slider.
This patch fixes the above.
See: TDE/codeine#5
Signed-off-by: mio <stigma@disroot.org>
Diffstat (limited to 'src/app/stateChange.cpp')
-rw-r--r-- | src/app/stateChange.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/stateChange.cpp b/src/app/stateChange.cpp index 9322a13..49adc55 100644 --- a/src/app/stateChange.cpp +++ b/src/app/stateChange.cpp @@ -63,7 +63,7 @@ MainWindow::engineStateChanged( Engine::State state ) toggleAction( "play" )->setChecked( state == Playing ); //FIXME bad design to do this way - m_volumeAction->sliderMoved( engine()->volume() ); + m_volumeAction->setVolume(engine()->volume()); } |