diff options
author | Palmer <palmer@lindenlab.com> | 2009-11-02 14:16:08 -0800 |
---|---|---|
committer | Palmer <palmer@lindenlab.com> | 2009-11-02 14:16:08 -0800 |
commit | b81feb6ae7fd9d01b63999e53c5c231551d53200 (patch) | |
tree | 527df9920d7d27000981fe726e5fbed9deccadbd /indra/newview/llfloatergroupinvite.cpp | |
parent | 3e80fa3dbc943de9b784fedc202ba38cf238f46d (diff) | |
parent | 74dda61dfbccfd9ab5ef309aeb4b2b8c86e06cd6 (diff) |
Merge of viewer-2-0 changes
Diffstat (limited to 'indra/newview/llfloatergroupinvite.cpp')
-rw-r--r-- | indra/newview/llfloatergroupinvite.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llfloatergroupinvite.cpp b/indra/newview/llfloatergroupinvite.cpp index 3598479305..bf484c6343 100644 --- a/indra/newview/llfloatergroupinvite.cpp +++ b/indra/newview/llfloatergroupinvite.cpp @@ -81,7 +81,7 @@ void LLFloaterGroupInvite::impl::closeFloater(void* data) LLFloaterGroupInvite::LLFloaterGroupInvite(const LLUUID& group_id) : LLFloater(group_id) { - static LLUICachedControl<S32> floater_header_size ("UIFloaterHeaderSize", 0); + S32 floater_header_size = getHeaderHeight(); LLRect contents; mImpl = new impl(group_id); @@ -114,7 +114,8 @@ LLFloaterGroupInvite::~LLFloaterGroupInvite() // static void LLFloaterGroupInvite::showForGroup(const LLUUID& group_id, std::vector<LLUUID> *agent_ids) { - static LLUICachedControl<S32> floater_header_size ("UIFloaterHeaderSize", 0); + const LLFloater::Params& floater_params = LLFloater::getDefaultParams(); + S32 floater_header_size = floater_params.header_height; LLRect contents; // Make sure group_id isn't null |