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:46:23 +1000
commitd9afd6ce2b504f61945b021a427ea469285d19f9 (patch)
tree6bdfb379519e71ab9bb88c50ba717a1bbf463601 /src/app/stateChange.cpp
parent6a71a1b4140d02f36e054ac3a57a832f8d9103ea (diff)
downloadcodeine-d9afd6ce2b504f61945b021a427ea469285d19f9.tar.gz
codeine-d9afd6ce2b504f61945b021a427ea469285d19f9.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>
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 2418209..ab671dd 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());
}