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/llfloaterperms.cpp | |
parent | 6c4cadbb04d633ad7b762058bdeba6e1f650dafd (diff) |
merge trunk@116587 skinning-7@119389 -> viewer-2.0.0-skinning-7
Diffstat (limited to 'indra/newview/llfloaterperms.cpp')
-rw-r--r-- | indra/newview/llfloaterperms.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llfloaterperms.cpp b/indra/newview/llfloaterperms.cpp index 52fba0aa20..1ef71a9d53 100644 --- a/indra/newview/llfloaterperms.cpp +++ b/indra/newview/llfloaterperms.cpp @@ -42,6 +42,7 @@ LLFloaterPerms::LLFloaterPerms(const LLSD& seed) +: LLFloater() { LLUICtrlFactory::getInstance()->buildFloater(this, "floater_perm_prefs.xml"); } @@ -64,7 +65,7 @@ void LLFloaterPerms::onClickOK(void* data) { LLFloaterPerms* self = static_cast<LLFloaterPerms*>(data); self->ok(); - self->close(); + self->closeFloater(); } //static @@ -72,7 +73,7 @@ void LLFloaterPerms::onClickCancel(void* data) { LLFloaterPerms* self = static_cast<LLFloaterPerms*>(data); self->cancel(); - self->close(); + self->closeFloater(); } //static @@ -117,7 +118,7 @@ void LLFloaterPerms::onClose(bool app_quitting) // Cancel any unsaved changes before closing. // Note: when closed due to the OK button this amounts to a no-op. cancel(); - LLFloater::onClose(app_quitting); + destroy(); } //static |