From 36a4928c12024d7dd3771951d8b1f5dbb62702d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 1 Mar 2018 01:34:36 +0300 Subject: Add separate configurable sound for new chat message in party and clan tabs. --- src/gui/widgets/tabs/setup_audio.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/tabs/setup_audio.cpp') diff --git a/src/gui/widgets/tabs/setup_audio.cpp b/src/gui/widgets/tabs/setup_audio.cpp index b11a67287..2a9d63eba 100644 --- a/src/gui/widgets/tabs/setup_audio.cpp +++ b/src/gui/widgets/tabs/setup_audio.cpp @@ -140,10 +140,20 @@ Setup_Audio::Setup_Audio(const Widget2 *const widget) : 150, OnTheFly_false, MainConfig_true); // TRANSLATORS: settings option - new SetupItemSound(_("Guild / party / clan message sound"), "", + new SetupItemSound(_("Guild message sound"), "", "soundguild", this, "soundguildEvent", mSoundModel, 150, OnTheFly_false, MainConfig_true); + // TRANSLATORS: settings option + new SetupItemSound(_("Party message sound"), "", + "soundparty", this, "soundpartyEvent", mSoundModel, + 150, OnTheFly_false, MainConfig_true); + + // TRANSLATORS: settings option + new SetupItemSound(_("Clan message sound"), "", + "soundclan", this, "soundclanEvent", mSoundModel, + 150, OnTheFly_false, MainConfig_true); + // TRANSLATORS: settings option new SetupItemSound(_("Highlight message sound"), "", "soundhighlight", this, "soundhighlightEvent", mSoundModel, -- cgit v1.2.3-70-g09d2