Fixed warnings related to status bar:

LLView::getChild: Making dummy class LLUICtrl named "goShop" in status
LLView::getChild: Making dummy class LLView named "stat_btn" in status
Ansariel 2013-03-11 14:29:23 +01:00
parent 457674e5f2
commit 3d53a01118
1 changed files with 4 additions and 2 deletions

View File

@ -268,12 +268,14 @@ BOOL LLStatusBar::postBuild()
getChild<LLUICtrl>("buyL")->setCommitCallback(
boost::bind(&LLStatusBar::onClickBuyCurrency, this));
getChild<LLUICtrl>("goShop")->setCommitCallback(boost::bind(&LLWeb::loadURLExternal, gSavedSettings.getString("MarketplaceURL")));
// <FS:Ansariel> Not used in Firestorm
//getChild<LLUICtrl>("goShop")->setCommitCallback(boost::bind(&LLWeb::loadURLExternal, gSavedSettings.getString("MarketplaceURL")));
mBoxBalance = getChild<LLTextBox>("balance");
mBoxBalance->setClickedCallback( &LLStatusBar::onClickBalance, this );
mBtnStats = getChildView("stat_btn");
// <FS:Ansariel> Not used in Firestorm
//mBtnStats = getChildView("stat_btn");
mBtnVolume = getChild<LLButton>( "volume_btn" );
mBtnVolume->setClickedCallback( onClickVolume, this );