diff options
author | mio <stigma@disroot.org> | 2024-11-24 17:21:35 +1000 |
---|---|---|
committer | mio <stigma@disroot.org> | 2024-12-07 13:14:51 +1000 |
commit | 673f35da4c96122fda0f69514bce1fced1ca6b4e (patch) | |
tree | 46d0614e52f3d4791dfbd8112208c590d55c9560 /src/app/stateChange.cpp | |
parent | 2ae198284fb1baddcdd64820d705258a2bceda5d (diff) | |
download | codeine-673f35da4c96122fda0f69514bce1fced1ca6b4e.tar.gz codeine-673f35da4c96122fda0f69514bce1fced1ca6b4e.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>
(cherry picked from commit 14b52b5a467e1c5be5ecc9d54c252d787294df3c)
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()); } |