diff options
author | Steven Bennetts <steve@lindenlab.com> | 2009-05-08 07:43:08 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2009-05-08 07:43:08 +0000 |
commit | a4000c3744e42fcbb638e742f3b63fa31a0dee15 (patch) | |
tree | 7f472c30e65bbfa04ee9bc06631a1af305cc31fb /indra/newview/llfloaterbeacons.cpp | |
parent | 6c4cadbb04d633ad7b762058bdeba6e1f650dafd (diff) |
merge trunk@116587 skinning-7@119389 -> viewer-2.0.0-skinning-7
Diffstat (limited to 'indra/newview/llfloaterbeacons.cpp')
-rw-r--r-- | indra/newview/llfloaterbeacons.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llfloaterbeacons.cpp b/indra/newview/llfloaterbeacons.cpp index 5476b35dc8..052f334285 100644 --- a/indra/newview/llfloaterbeacons.cpp +++ b/indra/newview/llfloaterbeacons.cpp @@ -40,6 +40,7 @@ LLFloaterBeacons::LLFloaterBeacons(const LLSD& seed) +: LLFloater() { LLUICtrlFactory::getInstance()->buildFloater(this, "floater_beacons.xml"); @@ -71,14 +72,13 @@ BOOL LLFloaterBeacons::postBuild() // Needed to make the floater visibility toggle the beacons. // Too bad we can't just add control_name="BeaconAlwaysOn" to the XML. -void LLFloaterBeacons::open() +void LLFloaterBeacons::onOpen(const LLSD& key) { - LLFloater::open(); gSavedSettings.setBOOL( "BeaconAlwaysOn", TRUE); } -void LLFloaterBeacons::close(bool app_quitting) +void LLFloaterBeacons::onClose(bool app_quitting) { - LLFloater::close(app_quitting); + destroy(); if(!app_quitting) { gSavedSettings.setBOOL( "BeaconAlwaysOn", FALSE); |