From ae15fbad42df0990337d3b4ff8adb7fd7422ba54 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 6 Dec 2017 11:32:28 +0100 Subject: [PATCH] Fix XUI parser warning: LLView::getChild: Making dummy class LLButton named "edit_wearable_btn" in panel_outfit_edit --- indra/newview/llpaneloutfitedit.cpp | 10 ++++++---- indra/newview/llpaneloutfitedit.h | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/indra/newview/llpaneloutfitedit.cpp b/indra/newview/llpaneloutfitedit.cpp index 580a7e1df0..e9a0d32034 100644 --- a/indra/newview/llpaneloutfitedit.cpp +++ b/indra/newview/llpaneloutfitedit.cpp @@ -539,10 +539,12 @@ BOOL LLPanelOutfitEdit::postBuild() mPlusBtn = getChild("plus_btn"); mPlusBtn->setClickedCallback(boost::bind(&LLPanelOutfitEdit::onPlusBtnClicked, this)); - mEditWearableBtn = getChild("edit_wearable_btn"); - mEditWearableBtn->setEnabled(FALSE); - mEditWearableBtn->setVisible(FALSE); - mEditWearableBtn->setCommitCallback(boost::bind(&LLPanelOutfitEdit::onEditWearableClicked, this)); + // Unused as of 06-12-2017 + //mEditWearableBtn = getChild("edit_wearable_btn"); + //mEditWearableBtn->setEnabled(FALSE); + //mEditWearableBtn->setVisible(FALSE); + //mEditWearableBtn->setCommitCallback(boost::bind(&LLPanelOutfitEdit::onEditWearableClicked, this)); + // childSetAction(REVERT_BTN, boost::bind(&LLAppearanceMgr::wearBaseOutfit, LLAppearanceMgr::getInstance())); diff --git a/indra/newview/llpaneloutfitedit.h b/indra/newview/llpaneloutfitedit.h index bf53ef9d61..c8b7033b6c 100644 --- a/indra/newview/llpaneloutfitedit.h +++ b/indra/newview/llpaneloutfitedit.h @@ -217,7 +217,7 @@ private: LLFilterEditor* mSearchFilter; LLSaveFolderState* mSavedFolderState; std::string mSearchString; - LLButton* mEditWearableBtn; + //LLButton* mEditWearableBtn; // Unused as of 06-12-2017 LLButton* mFolderViewBtn; LLButton* mListViewBtn; LLButton* mPlusBtn;