diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-01 01:34:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-01 01:34:36 +0300 |
commit | 36a4928c12024d7dd3771951d8b1f5dbb62702d5 (patch) | |
tree | c79dfc361baa5eb82064c57f73fee02a8591064b /src/gui/widgets/tabs/setup_audio.cpp | |
parent | b308b360adcb644814360f88daf722a34c11f29d (diff) | |
download | manaverse-36a4928c12024d7dd3771951d8b1f5dbb62702d5.tar.gz manaverse-36a4928c12024d7dd3771951d8b1f5dbb62702d5.tar.bz2 manaverse-36a4928c12024d7dd3771951d8b1f5dbb62702d5.tar.xz manaverse-36a4928c12024d7dd3771951d8b1f5dbb62702d5.zip |
Add separate configurable sound for new chat message in party and clan tabs.
Diffstat (limited to 'src/gui/widgets/tabs/setup_audio.cpp')
-rw-r--r-- | src/gui/widgets/tabs/setup_audio.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
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,11 +140,21 @@ 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, 150, OnTheFly_false, MainConfig_true); |