summaryrefslogtreecommitdiff
path: root/indra/newview/llparticipantlist.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-04-09 15:11:58 +0300
committerMike Antipov <mantipov@productengine.com>2010-04-09 15:11:58 +0300
commita45eefaf26ad24fdc9f2fa4f55be1a10c8e0a09f (patch)
tree068a61d69bd9e8c89239c45ce82659d83c7da938 /indra/newview/llparticipantlist.cpp
parent691237cee84b8dcb014e8b261eb8d918c9df31b7 (diff)
Replace gVoiceClient with LLVoiceClient::getInstance() due to gVoiceClient is being removed soon.
Trivial changes, not reviewed. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llparticipantlist.cpp')
-rw-r--r--indra/newview/llparticipantlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp
index eb245453db..dbb8e962bd 100644
--- a/indra/newview/llparticipantlist.cpp
+++ b/indra/newview/llparticipantlist.cpp
@@ -632,7 +632,7 @@ bool LLParticipantList::LLParticipantListMenu::enableContextMenuItem(const LLSD&
else if (item == "can_call")
{
bool not_agent = mUUIDs.front() != gAgentID;
- bool can_call = not_agent && LLVoiceClient::voiceEnabled() && gVoiceClient->voiceWorking();
+ bool can_call = not_agent && LLVoiceClient::voiceEnabled() && LLVoiceClient::getInstance()->voiceWorking();
return can_call;
}