Fix mute in voice
This commit is contained in:
@@ -341,7 +341,6 @@ BOOL LLPanelActiveSpeakers::postBuild()
|
||||
|
||||
mMuteVoiceCtrl = getChild<LLUICtrl>("mute_btn");
|
||||
childSetCommitCallback("mute_btn", onClickMuteVoiceCommit, this);
|
||||
childSetAction("mute_btn", onClickMuteVoice, this);
|
||||
|
||||
childSetCommitCallback("speaker_volume", onVolumeChange, this);
|
||||
|
||||
@@ -718,11 +717,6 @@ void LLPanelActiveSpeakers::onClickMuteTextCommit(LLUICtrl* ctrl, void* user_dat
|
||||
}
|
||||
}
|
||||
|
||||
//static
|
||||
void LLPanelActiveSpeakers::onClickMuteVoice(void* user_data)
|
||||
{
|
||||
onClickMuteVoiceCommit(NULL, user_data);
|
||||
}
|
||||
|
||||
//static
|
||||
void LLPanelActiveSpeakers::onClickMuteVoiceCommit(LLUICtrl* ctrl, void* user_data)
|
||||
|
||||
@@ -224,7 +224,6 @@ public:
|
||||
|
||||
void setVoiceModerationCtrlMode(const BOOL& moderated_voice);
|
||||
|
||||
static void onClickMuteVoice(void* user_data);
|
||||
static void onClickMuteVoiceCommit(LLUICtrl* ctrl, void* user_data);
|
||||
static void onClickMuteTextCommit(LLUICtrl* ctrl, void* user_data);
|
||||
static void onVolumeChange(LLUICtrl* source, void* user_data);
|
||||
|
||||
Reference in New Issue
Block a user