summaryrefslogtreecommitdiff
path: root/src/gui/setup_audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_audio.cpp')
-rw-r--r--src/gui/setup_audio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_audio.cpp b/src/gui/setup_audio.cpp
index 89c21e2b..a02b3c20 100644
--- a/src/gui/setup_audio.cpp
+++ b/src/gui/setup_audio.cpp
@@ -72,7 +72,7 @@ Setup_Audio::Setup_Audio():
void Setup_Audio::apply()
{
- if (mSoundCheckBox->isMarked())
+ if (mSoundCheckBox->isSelected())
{
config.setValue("sound", 1);
try {
@@ -97,7 +97,7 @@ void Setup_Audio::apply()
void Setup_Audio::cancel()
{
- mSoundCheckBox->setMarked(mSoundEnabled);
+ mSoundCheckBox->setSelected(mSoundEnabled);
sound.setSfxVolume(mSfxVolume);
mSfxSlider->setValue(mSfxVolume);