diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-05-22 12:45:54 +0300 |
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-05-22 12:45:54 +0300 |
| commit | 6f7e50e2b21077dda6583f3add1521f3ba83bc19 (patch) | |
| tree | daa2fbd2b50caf9c079f61db3bfa900a322439b5 /indra/newview/lloutfitslist.cpp | |
| parent | 25b19eb6b8b8482d5f6cff0cae8665a0f7518eb1 (diff) | |
viewer#1425 Fix missed 'static' declarations
Diffstat (limited to 'indra/newview/lloutfitslist.cpp')
| -rw-r--r-- | indra/newview/lloutfitslist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp index c0f13cc75f..66d8bff18f 100644 --- a/indra/newview/lloutfitslist.cpp +++ b/indra/newview/lloutfitslist.cpp @@ -225,7 +225,7 @@ void LLOutfitsList::updateAddedCategory(LLUUID cat_id) tab->setDropDownStateChangedCallback(boost::bind(&LLOutfitsList::resetItemSelection, this, list, cat_id)); // Depending on settings, force showing list items that don't match current filter(EXT-7158) - LLCachedControl<bool> list_filter(gSavedSettings, "OutfitListFilterFullList"); + static LLCachedControl<bool> list_filter(gSavedSettings, "OutfitListFilterFullList"); list->setForceShowingUnmatchedItems(list_filter(), false); // Setting list commit callback to monitor currently selected wearable item. @@ -1556,12 +1556,12 @@ bool LLOutfitListSortMenu::onEnable(LLSD::String param) { if ("favorites_to_top" == param) { - LLCachedControl<S32> sort_order(gSavedSettings, "OutfitListSortOrder", 0); + static LLCachedControl<S32> sort_order(gSavedSettings, "OutfitListSortOrder", 0); return sort_order == 1; } else if ("show_entire_outfit" == param) { - LLCachedControl<bool> filter_mode(gSavedSettings, "OutfitListFilterFullList", 0); + static LLCachedControl<bool> filter_mode(gSavedSettings, "OutfitListFilterFullList", 0); return filter_mode; } |
