summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-11-23 14:29:07 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-11-23 14:38:32 +0200
commit7b7667973b3ecaa857f1013c8084f3159105eec1 (patch)
tree66fb3dcb2b2e870cbe1312a17c78961d127db10e /indra/llui
parentf534e37328e7408b1609c9b78d13c6c749091e53 (diff)
DRTVWR-513 Resolved merge conflict from merge with DRTVWR-507
See changes from SL-13119 and SL-13190
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llfolderviewmodel.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/llui/llfolderviewmodel.cpp b/indra/llui/llfolderviewmodel.cpp
index e95cc12520..a028a32704 100644
--- a/indra/llui/llfolderviewmodel.cpp
+++ b/indra/llui/llfolderviewmodel.cpp
@@ -88,16 +88,6 @@ void LLFolderViewModelItemCommon::dirtyDescendantsFilter()
//virtual
void LLFolderViewModelItemCommon::addChild(LLFolderViewModelItem* child)
{
- // Avoid duplicates: bail out if that child is already present in the list
- // Note: this happens when models are created before views
- child_list_t::const_iterator iter;
- for (iter = mChildren.begin(); iter != mChildren.end(); iter++)
- {
- if (child == *iter)
- {
- return;
- }
- }
mChildren.push_back(child);
child->setParent(this);
dirtyFilter();