summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2023-03-21 19:19:58 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2023-03-21 19:19:58 +0200
commit19e9b5d488e5478d6c5ecbb85000e6da3e6124bb (patch)
tree2316d85764023d5060675357338929fa39b3da3f
parent1eab3247111e66a3b81153173d1624a5c1c9fb72 (diff)
SL-19379 build fix
-rw-r--r--indra/newview/llpanelmaininventory.cpp6
-rw-r--r--indra/newview/llpanelmaininventory.h10
2 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp
index a867077ab0..2816a2dc89 100644
--- a/indra/newview/llpanelmaininventory.cpp
+++ b/indra/newview/llpanelmaininventory.cpp
@@ -116,7 +116,7 @@ LLPanelMainInventory::LLPanelMainInventory(const LLPanel::Params& p)
mNeedUploadCost(true),
mMenuViewDefault(NULL),
mSingleFolderMode(false),
- mViewMode(VIEW_LIST),
+ mViewMode(MODE_LIST),
mListViewRootUpdatedConnection(),
mGalleryRootUpdatedConnection()
{
@@ -1689,11 +1689,11 @@ void LLPanelMainInventory::onCustomAction(const LLSD& userdata)
if (command_name == "list_view")
{
- setViewMode(VIEW_LIST);
+ setViewMode(MODE_LIST);
}
if (command_name == "gallery_view")
{
- setViewMode(VIEW_GALLERY);
+ setViewMode(MODE_GALLERY);
}
}
diff --git a/indra/newview/llpanelmaininventory.h b/indra/newview/llpanelmaininventory.h
index 51c4ace874..c30f894118 100644
--- a/indra/newview/llpanelmaininventory.h
+++ b/indra/newview/llpanelmaininventory.h
@@ -68,9 +68,9 @@ public:
enum EViewModeType
{
- VIEW_LIST,
- VIEW_GALLERY,
- VIEW_COMBINATION
+ MODE_LIST,
+ MODE_GALLERY,
+ MODE_COMBINATION
};
virtual BOOL handleKeyHere(KEY key, MASK mask);
@@ -117,8 +117,8 @@ public:
bool isSingleFolderMode() { return mSingleFolderMode; }
void setViewMode(EViewModeType mode);
- bool isListViewMode() { return (mViewMode == VIEW_LIST); }
- bool isGalleryViewMode() { return (mViewMode == VIEW_GALLERY); }
+ bool isListViewMode() { return (mViewMode == MODE_LIST); }
+ bool isGalleryViewMode() { return (mViewMode == MODE_GALLERY); }
LLUUID getCurrentSFVRoot();
protected: