diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-16 12:22:56 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-16 12:28:09 +0300 |
commit | d9a8ccc2c061bc034ebb6fb13b0950615d8bf30d (patch) | |
tree | 9210ef46bf5737c33bf22a3941d9c6df046fbed0 /indra/newview/llinventorygallery.h | |
parent | 3561724b8c2b2e45a65d0adb85b4a082439a7eba (diff) |
SL-19882 Fix LLInventoryGalleryItem redeclaring mName
To avoid confusion and potential inheritance issues
Diffstat (limited to 'indra/newview/llinventorygallery.h')
-rw-r--r-- | indra/newview/llinventorygallery.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llinventorygallery.h b/indra/newview/llinventorygallery.h index ce618602df..cb95f61255 100644 --- a/indra/newview/llinventorygallery.h +++ b/indra/newview/llinventorygallery.h @@ -288,7 +288,7 @@ public: LLFontGL* getTextFont(); - void setName(std::string name); + void setItemName(std::string name); void setSelected(bool value); void setWorn(bool value); void setUUID(LLUUID id) {mUUID = id;} @@ -301,7 +301,7 @@ public: void setCreatorName(std::string name) {mCreatorName = name;} std::string getCreatorName() { return mCreatorName;} - std::string getItemName() {return mName;} + std::string getItemName() {return mItemName;} std::string getItemNameSuffix() {return mPermSuffix + mWornSuffix;} bool isDefaultImage() {return mDefaultImage;} @@ -335,7 +335,7 @@ private: EInventorySortGroup mSortGroup; LLAssetType::EType mType; - std::string mName; + std::string mItemName; std::string mWornSuffix; std::string mPermSuffix; LLInventoryGallery* mGallery; |