summaryrefslogtreecommitdiffstats
path: root/src/app/stateChange.cpp
diff options
context:
space:
mode:
authormio <stigma@disroot.org>2025-04-18 18:44:03 +1000
committermio <stigma@disroot.org>2025-05-11 16:52:29 +1000
commit6d6bea81dc67fbebfc64a5614e0bc2df73c0025d (patch)
tree8ba1df25bbd6b4a330141aca2ec43b995700f1c6 /src/app/stateChange.cpp
parent27a20e43a143ac2dbeaa0f0441f829f1a5afe6d3 (diff)
downloadcodeine-6d6bea81.tar.gz
codeine-6d6bea81.zip
Add mute checkbox to volume slider
Part of https://mirror.git.trinitydesktop.org/gitea/TDE/codeine/issues/5 Signed-off-by: mio <stigma@disroot.org> (cherry picked from commit d9afd6ce2b504f61945b021a427ea469285d19f9)
Diffstat (limited to 'src/app/stateChange.cpp')
-rw-r--r--src/app/stateChange.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/stateChange.cpp b/src/app/stateChange.cpp
index 73f77d0..2fe6fb9 100644
--- a/src/app/stateChange.cpp
+++ b/src/app/stateChange.cpp
@@ -66,6 +66,7 @@ MainWindow::engineStateChanged( Engine::State state )
//FIXME bad design to do this way
m_volumeAction->setVolume(engine()->volume());
+ m_volumeAction->setMuted(engine()->isMuted());
}