summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/llui/llfloater.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index ccf666bd67..3ece1c12bf 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -651,15 +651,6 @@ void LLFloater::openFloater(const LLSD& key)
&& !getFloaterHost()
&& (!getVisible() || isMinimized()))
{
- // it up by name.
- LLControlGroup* gSavedSettingsp = LLControlGroup::getInstance("Global");
- //Play a sound for incoming voice call based upon chat preference setting.
- //If it's not an incoming call, play it anyway.
- //If we can't find gSavedSettings, play it anyway.
- //If the setting is ON, play it anyway.
- bool playSound = (getName() != "incoming call" ||
- (! gSavedSettingsp) ||
- gSavedSettingsp->getBOOL("PlaySoundIncomingVoiceCall"));
make_ui_sound("UISndWindowOpen");
}