summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llimconversation.cpp2
-rw-r--r--indra/newview/llnearbychatbar.cpp7
-rw-r--r--indra/newview/llnearbychatbar.h2
3 files changed, 2 insertions, 9 deletions
diff --git a/indra/newview/llimconversation.cpp b/indra/newview/llimconversation.cpp
index 7220ab6a82..f5d84e80c1 100644
--- a/indra/newview/llimconversation.cpp
+++ b/indra/newview/llimconversation.cpp
@@ -25,6 +25,8 @@
* $/LicenseInfo$
*/
+#include "llviewerprecompiledheaders.h"
+
#include "llpanelimcontrolpanel.h"
#include "lldraghandle.h"
diff --git a/indra/newview/llnearbychatbar.cpp b/indra/newview/llnearbychatbar.cpp
index 82c00253e8..68934be11a 100644
--- a/indra/newview/llnearbychatbar.cpp
+++ b/indra/newview/llnearbychatbar.cpp
@@ -116,8 +116,6 @@ BOOL LLNearbyChatBar::postBuild()
// Register for font change notifications
LLViewerChat::setFontChangedCallback(boost::bind(&LLNearbyChatBar::onChatFontChange, this, _1));
- // childSetAction("voice_call_btn", boost::bind(&LLNearbyChatBar::onCallButtonClicked, this));
-
enableResizeCtrls(true, true, false);
addToHost();
@@ -125,11 +123,6 @@ BOOL LLNearbyChatBar::postBuild()
return LLIMConversation::postBuild();;
}
-void LLNearbyChatBar::onCallButtonClicked()
-{
- LLAgent::toggleMicrophone(NULL);
-}
-
void LLNearbyChatBar::enableDisableCallBtn()
{
// bool btn_enabled = LLAgent::isActionAllowed("speak");
diff --git a/indra/newview/llnearbychatbar.h b/indra/newview/llnearbychatbar.h
index e714c04498..b7c4c993c6 100644
--- a/indra/newview/llnearbychatbar.h
+++ b/indra/newview/llnearbychatbar.h
@@ -88,8 +88,6 @@ protected:
void displaySpeakingIndicator();
- void onCallButtonClicked();
-
// set the enable/disable state for the Call button
virtual void enableDisableCallBtn();