Skip to content
Snippets Groups Projects
Commit d9547f5e authored by Kent Quirk's avatar Kent Quirk
Browse files

STORM-265 -- remove invisible button on menu bar that was tied to the lag meter.

parent 93eb6cac
No related branches found
No related tags found
No related merge requests found
...@@ -213,8 +213,6 @@ BOOL LLStatusBar::postBuild() ...@@ -213,8 +213,6 @@ BOOL LLStatusBar::postBuild()
mSGPacketLoss->mPerSec = FALSE; mSGPacketLoss->mPerSec = FALSE;
addChild(mSGPacketLoss); addChild(mSGPacketLoss);
getChild<LLTextBox>("stat_btn")->setClickedCallback(onClickStatGraph);
mPanelVolumePulldown = new LLPanelVolumePulldown(); mPanelVolumePulldown = new LLPanelVolumePulldown();
addChild(mPanelVolumePulldown); addChild(mPanelVolumePulldown);
mPanelVolumePulldown->setFollows(FOLLOWS_TOP|FOLLOWS_RIGHT); mPanelVolumePulldown->setFollows(FOLLOWS_TOP|FOLLOWS_RIGHT);
...@@ -506,12 +504,6 @@ void LLStatusBar::onClickMediaToggle(void* data) ...@@ -506,12 +504,6 @@ void LLStatusBar::onClickMediaToggle(void* data)
LLViewerMedia::setAllMediaEnabled(enable); LLViewerMedia::setAllMediaEnabled(enable);
} }
// static
void LLStatusBar::onClickStatGraph(void* data)
{
LLFloaterReg::showInstance("lagmeter");
}
BOOL can_afford_transaction(S32 cost) BOOL can_afford_transaction(S32 cost)
{ {
return((cost <= 0)||((gStatusBar) && (gStatusBar->getBalance() >=cost))); return((cost <= 0)||((gStatusBar) && (gStatusBar->getBalance() >=cost)));
......
...@@ -92,7 +92,6 @@ class LLStatusBar ...@@ -92,7 +92,6 @@ class LLStatusBar
void onMouseEnterVolume(); void onMouseEnterVolume();
void onMouseEnterNearbyMedia(); void onMouseEnterNearbyMedia();
void onClickScreen(S32 x, S32 y); void onClickScreen(S32 x, S32 y);
static void onClickStatGraph(void* data);
static void onClickMediaToggle(void* data); static void onClickMediaToggle(void* data);
......
...@@ -118,13 +118,4 @@ ...@@ -118,13 +118,4 @@
name="volume_btn" name="volume_btn"
tool_tip="Global Volume Control" tool_tip="Global Volume Control"
width="16" /> width="16" />
<text
follows="right|top"
halign="center"
height="12"
layout="topleft"
left_delta="0"
name="stat_btn"
top_delta="0"
width="20"/>
</panel> </panel>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment