diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-04-19 16:24:05 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-04-19 16:24:05 -0700 |
commit | 8d8f167a4e58583c55901448a7bc5dd88b60e5f7 (patch) | |
tree | b4c71519c8d9ae0fd1addece5ea1f1424ded313f /indra/newview/llbottomtray.cpp | |
parent | 7f0a7789903809d489e9f85575be18c88df1ea98 (diff) | |
parent | b55bce5b1b74c612f3a411889df1e0fb57bc3264 (diff) |
automated merge with trunk
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r-- | indra/newview/llbottomtray.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp index 4ebccbe731..04a6c48b4f 100644 --- a/indra/newview/llbottomtray.cpp +++ b/indra/newview/llbottomtray.cpp @@ -301,7 +301,7 @@ void LLBottomTray::onChange(EStatusType status, const std::string &channelURI, b // skipped to avoid button blinking if (status != STATUS_JOINING && status!= STATUS_LEFT_CHANNEL) { - mSpeakBtn->setFlyoutBtnEnabled(LLVoiceClient::voiceEnabled() && gVoiceClient->voiceWorking()); + mSpeakBtn->setFlyoutBtnEnabled(LLVoiceClient::getInstance()->voiceEnabled() && LLVoiceClient::getInstance()->isVoiceWorking()); } } @@ -471,7 +471,7 @@ BOOL LLBottomTray::postBuild() mSpeakBtn->setShowToolTip( getString("VoiceControlBtnToolTip") ); // Registering Chat Bar to receive Voice client status change notifications. - gVoiceClient->addObserver(this); + LLVoiceClient::getInstance()->addObserver(this); mObjectDefaultWidthMap[RS_BUTTON_GESTURES] = mGesturePanel->getRect().getWidth(); mObjectDefaultWidthMap[RS_BUTTON_MOVEMENT] = mMovementPanel->getRect().getWidth(); |