summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterwebprofile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterwebprofile.cpp')
-rw-r--r--indra/newview/llfloaterwebprofile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterwebprofile.cpp b/indra/newview/llfloaterwebprofile.cpp
index 7ee7b5172c..c41f6f148f 100644
--- a/indra/newview/llfloaterwebprofile.cpp
+++ b/indra/newview/llfloaterwebprofile.cpp
@@ -38,6 +38,8 @@ LLFloaterWebProfile::LLFloaterWebProfile(const Params& key) :
void LLFloaterWebProfile::onOpen(const LLSD& key)
{
Params p(key);
+ p.show_chrome(false).
+ window_class("profile");
LLFloaterWebContent::onOpen(p);
applyPreferredRect();
}
@@ -60,8 +62,6 @@ LLFloater* LLFloaterWebProfile::create(const LLSD& key)
{
LLFloaterWebContent::Params p(key);
preCreate(p);
- p.show_chrome(false).
- window_class("profile");
return new LLFloaterWebProfile(p);
}