diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-05-17 18:38:23 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-05-17 18:38:23 +0300 |
commit | 784436a5b89062df69251c9ac28904f06a018011 (patch) | |
tree | 5fb13545c0159a38594ed1e5f6c7d5f7789dce8f /indra/newview/lloutfitslist.cpp | |
parent | 86fc10f710ced7d2e7b1ddf01eef945aafd60e8b (diff) |
SL-19721 use LLOutfitObserver to handle cof changes
Diffstat (limited to 'indra/newview/lloutfitslist.cpp')
-rw-r--r-- | indra/newview/lloutfitslist.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp index fe15d21e36..5c7792b0df 100644 --- a/indra/newview/lloutfitslist.cpp +++ b/indra/newview/lloutfitslist.cpp @@ -122,9 +122,8 @@ void LLOutfitsList::onOpen(const LLSD& info) { if (!mIsInitialized) { - const LLUUID cof = gInventory.findCategoryUUIDForType(LLFolderType::FT_CURRENT_OUTFIT); // Start observing changes in Current Outfit category. - mCategoriesObserver->addCategory(cof, boost::bind(&LLOutfitsList::onCOFChanged, this)); + LLOutfitObserver::instance().addCOFChangedCallback(boost::bind(&LLOutfitsList::onCOFChanged, this)); } LLOutfitListBase::onOpen(info); |