summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexanderP ProductEngine <apaschenko@productengine.com>2012-05-30 22:58:22 +0300
committerAlexanderP ProductEngine <apaschenko@productengine.com>2012-05-30 22:58:22 +0300
commitfe252836ebfb8a1247b0ae3222056d0543203a44 (patch)
treec72557acd2d66151af3c990ce340d80c87a182c4
parent47ec4faeb4dc67f9614e218a75d4957ccf6f794c (diff)
Build fix
-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();