summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-09-11 22:14:57 -0400
committerNat Goodspeed <nat@lindenlab.com>2009-09-11 22:14:57 -0400
commit8e0128c493bce16555b3a9132bd71b670c322d63 (patch)
tree7b99800c8c86d33fc12841435c60c9f836284a11
parent08f3ea28f5681bbbd755947ec09970c11410bd0a (diff)
QAR-1619: Reconcile LLFloaterTOS::onCancel() with viewer-2 version.
The viewer-2 onCancel() pops up a "MustAgreeToLogIn" notification. Make ours do the same.
-rw-r--r--indra/newview/llfloatertos.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloatertos.cpp b/indra/newview/llfloatertos.cpp
index d8aea2770f..8d2d48f1af 100644
--- a/indra/newview/llfloatertos.cpp
+++ b/indra/newview/llfloatertos.cpp
@@ -48,6 +48,7 @@
#include "lluictrlfactory.h"
#include "llvfile.h"
#include "message.h"
+#include "llstartup.h" // login_alert_done
LLFloaterTOS::LLFloaterTOS(const LLSD& data)
@@ -206,6 +207,7 @@ void LLFloaterTOS::onCancel( void* userdata )
{
LLFloaterTOS* self = (LLFloaterTOS*) userdata;
llinfos << "User disagrees with TOS." << llendl;
+ LLNotifications::instance().add("MustAgreeToLogIn", LLSD(), LLSD(), login_alert_done);
if(self->mReplyPumpName != "")
{