summaryrefslogtreecommitdiff
path: root/indra/newview/llnamelistctrl.cpp
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2014-07-12 02:51:27 +0300
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2014-07-12 02:51:27 +0300
commit3b5b6e35c4f1d5412349766deff7bf573ac1a301 (patch)
tree4ce5ae32137d61e51ece160a07327e27fe5f438e /indra/newview/llnamelistctrl.cpp
parent58c86cf59ee26dbadd359a28d8b16409c856e966 (diff)
fixing merge conficts
Diffstat (limited to 'indra/newview/llnamelistctrl.cpp')
-rwxr-xr-xindra/newview/llnamelistctrl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llnamelistctrl.cpp b/indra/newview/llnamelistctrl.cpp
index c0bf763437..54e4c6c1da 100755
--- a/indra/newview/llnamelistctrl.cpp
+++ b/indra/newview/llnamelistctrl.cpp
@@ -64,8 +64,7 @@ LLNameListCtrl::LLNameListCtrl(const LLNameListCtrl::Params& p)
mNameColumnIndex(p.name_column.column_index),
mNameColumn(p.name_column.column_name),
mAllowCallingCardDrop(p.allow_calling_card_drop),
- mShortNames(p.short_names)
- mAvatarNameCacheConnection(),
+ mShortNames(p.short_names),
mPendingLookupsRemaining(0)
{}
@@ -337,6 +336,8 @@ LLScrollListItem* LLNameListCtrl::addNameItemRow(
it->second.disconnect();
}
mAvatarNameCacheConnections.erase(it);
+ }
+ mAvatarNameCacheConnections[id] = LLAvatarNameCache::get(id,boost::bind(&LLNameListCtrl::onAvatarNameCache,this, _1, _2, suffix, item->getHandle()));
if(mPendingLookupsRemaining <= 0)
{