From cd17687f01420952712a500107e0f93e7ab8d5f8 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:34 -0500 Subject: Second Life viewer sources 1.19.1.0 --- linden/indra/newview/llfloateravatarinfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linden/indra/newview/llfloateravatarinfo.cpp') diff --git a/linden/indra/newview/llfloateravatarinfo.cpp b/linden/indra/newview/llfloateravatarinfo.cpp index 2cd6ee2..a26299c 100644 --- a/linden/indra/newview/llfloateravatarinfo.cpp +++ b/linden/indra/newview/llfloateravatarinfo.cpp @@ -127,7 +127,7 @@ LLFloaterAvatarInfo::LLFloaterAvatarInfo(const std::string& name, const LLRect & mAvatarID( avatar_id ), mSuggestedOnlineStatus(ONLINE_STATUS_NO) { - mAutoFocus = TRUE; + setAutoFocus(TRUE); LLCallbackMap::map_t factory_map; @@ -244,8 +244,8 @@ void LLFloaterAvatarInfo::showFromProfile(const LLUUID &avatar_id, LLRect rect) { floater = new LLFloaterAvatarInfo("avatarinfo", FAI_RECT, avatar_id); - floater->translate(rect.mLeft - floater->mRect.mLeft + 16, - rect.mTop - floater->mRect.mTop - 16); + floater->translate(rect.mLeft - floater->getRect().mLeft + 16, + rect.mTop - floater->getRect().mTop - 16); floater->mPanelAvatarp->setAvatarID(avatar_id, "", ONLINE_STATUS_NO); } if (floater) -- cgit v1.1