summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r--src/gui/widgets/setupitem.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index 37621770b..2ebd2ef19 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -1167,8 +1167,9 @@ void SetupItemSound::action(const ActionEvent &event)
{
if (mSlider && mSlider->getSelected())
{
- soundManager.playGuiSfx(branding.getStringValue("systemsounds")
- .append(mSlider->getSelectedString()).append(".ogg"));
+ soundManager.playGuiSfx(pathJoin(branding.getStringValue(
+ "systemsounds"),
+ mSlider->getSelectedString()).append(".ogg"));
}
}
else