diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-08-05 16:10:15 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-08-05 16:10:15 -0400 |
commit | 07129bf928f79246849e66b396fab44a7a228216 (patch) | |
tree | e4e19b342540450ff84dad75f90d5acb5b3d6269 /indra/newview/llfloaterfonttest.cpp | |
parent | 03ebc43132331b9a8dcb3c418ec9c319a6beddda (diff) | |
parent | dc62495da6e5c153c0df57fdbce6b0f40c0208f2 (diff) |
Merge recent changes
Diffstat (limited to 'indra/newview/llfloaterfonttest.cpp')
-rw-r--r-- | indra/newview/llfloaterfonttest.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/indra/newview/llfloaterfonttest.cpp b/indra/newview/llfloaterfonttest.cpp index 02791b711e..413992910e 100644 --- a/indra/newview/llfloaterfonttest.cpp +++ b/indra/newview/llfloaterfonttest.cpp @@ -42,25 +42,11 @@ #include "lluictrlfactory.h" -LLFloaterFontTest* LLFloaterFontTest::sInstance = NULL; - -LLFloaterFontTest::LLFloaterFontTest() +LLFloaterFontTest::LLFloaterFontTest(const LLSD& key) : LLFloater("floater_font_test") { - LLUICtrlFactory::getInstance()->buildFloater(this, "floater_font_test.xml"); } LLFloaterFontTest::~LLFloaterFontTest() { - sInstance = NULL; -} - -// static -void LLFloaterFontTest::show(void *unused) -{ - if (!sInstance) - sInstance = new LLFloaterFontTest(); - - sInstance->openFloater(); - sInstance->setFocus(TRUE); } |