Adjustment for FIRE-7556: Configurable User Interface sounds

meow-7.2.2
Ansariel 2017-01-02 12:28:55 +01:00
parent e4497dcb87
commit 73e1d49f91
1 changed files with 7 additions and 5 deletions

View File

@ -2638,11 +2638,13 @@ void LLIncomingCallDialog::onOpen(const LLSD& key)
{
LLCallDialog::onOpen(key);
if (gSavedSettings.getBOOL("PlaySoundIncomingVoiceCall"))
{
// play a sound for incoming voice call if respective property is set
make_ui_sound("UISndStartIM");
}
// <FS:Ansariel> FIRE-7556: Configurable User Interface sounds; This is done in LLFloater::openFloater
//if (gSavedSettings.getBOOL("PlaySoundIncomingVoiceCall"))
//{
// // play a sound for incoming voice call if respective property is set
// make_ui_sound("UISndStartIM");
//}
// </FS:Ansariel>
LLStringUtil::format_map_t args;
LLGroupData data;