summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbeacons.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2009-06-21 08:04:56 +0000
committerSteven Bennetts <steve@lindenlab.com>2009-06-21 08:04:56 +0000
commit9ec432034dc3c45d7ce763eb02dae4cc7f6b8da8 (patch)
tree4a505c1e0919af52800b3ffb3eaf135e7d6f9ce6 /indra/newview/llfloaterbeacons.cpp
parent351ebe9fcb76f3b99c2957004bb8493a904869ee (diff)
merge -r 122421-124917 viewer-2.0.0-2 -> viewer-2.0.0-3
ignore-dead-branch
Diffstat (limited to 'indra/newview/llfloaterbeacons.cpp')
-rw-r--r--indra/newview/llfloaterbeacons.cpp8
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);