diff options
| author | Leyla Farazha <leyla@lindenlab.com> | 2010-04-05 15:12:12 -0700 |
|---|---|---|
| committer | Leyla Farazha <leyla@lindenlab.com> | 2010-04-05 15:12:12 -0700 |
| commit | a0a7b7ed16a9161b8060e8f32e5594356e5c7329 (patch) | |
| tree | 06809cac6cde316219cbcbf58a7381d907a9d5e6 /indra/newview/llpanelgroup.cpp | |
| parent | 6b3ca581e037d52e507a69d82fd6d900bd4641b7 (diff) | |
| parent | 9bfc1c3b1060f15990bba218795a1ef6009d1535 (diff) | |
Merge
Diffstat (limited to 'indra/newview/llpanelgroup.cpp')
| -rw-r--r-- | indra/newview/llpanelgroup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelgroup.cpp b/indra/newview/llpanelgroup.cpp index c00b6a4147..716166a945 100644 --- a/indra/newview/llpanelgroup.cpp +++ b/indra/newview/llpanelgroup.cpp @@ -201,7 +201,7 @@ BOOL LLPanelGroup::postBuild() mJoinText = panel_general->getChild<LLUICtrl>("join_cost_text"); } - gVoiceClient->addObserver(this); + LLVoiceClient::getInstance()->addObserver(this); return TRUE; } @@ -322,7 +322,7 @@ void LLPanelGroup::onChange(EStatusType status, const std::string &channelURI, b return; } - childSetEnabled("btn_call", LLVoiceClient::voiceEnabled() && gVoiceClient->voiceWorking()); + childSetEnabled("btn_call", LLVoiceClient::getInstance()->voiceEnabled() && LLVoiceClient::getInstance()->isVoiceWorking()); } void LLPanelGroup::notifyObservers() |
