diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llfloateravatarinfo.cpp | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloateravatarinfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 & | |||
127 | mAvatarID( avatar_id ), | 127 | mAvatarID( avatar_id ), |
128 | mSuggestedOnlineStatus(ONLINE_STATUS_NO) | 128 | mSuggestedOnlineStatus(ONLINE_STATUS_NO) |
129 | { | 129 | { |
130 | mAutoFocus = TRUE; | 130 | setAutoFocus(TRUE); |
131 | 131 | ||
132 | LLCallbackMap::map_t factory_map; | 132 | LLCallbackMap::map_t factory_map; |
133 | 133 | ||
@@ -244,8 +244,8 @@ void LLFloaterAvatarInfo::showFromProfile(const LLUUID &avatar_id, LLRect rect) | |||
244 | { | 244 | { |
245 | floater = new LLFloaterAvatarInfo("avatarinfo", FAI_RECT, | 245 | floater = new LLFloaterAvatarInfo("avatarinfo", FAI_RECT, |
246 | avatar_id); | 246 | avatar_id); |
247 | floater->translate(rect.mLeft - floater->mRect.mLeft + 16, | 247 | floater->translate(rect.mLeft - floater->getRect().mLeft + 16, |
248 | rect.mTop - floater->mRect.mTop - 16); | 248 | rect.mTop - floater->getRect().mTop - 16); |
249 | floater->mPanelAvatarp->setAvatarID(avatar_id, "", ONLINE_STATUS_NO); | 249 | floater->mPanelAvatarp->setAvatarID(avatar_id, "", ONLINE_STATUS_NO); |
250 | } | 250 | } |
251 | if (floater) | 251 | if (floater) |