summaryrefslogtreecommitdiff
path: root/indra/newview/llinspecttoast.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-14 09:48:07 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-14 09:48:07 -0800
commit1a5e2be99c7b186135fdc541e9df71f337378397 (patch)
tree7becd7cb0e3753b9e52027763d79e496fc7df05a /indra/newview/llinspecttoast.cpp
parente1105245371e7c34c1be7a772906d3c2f6ca258d (diff)
parentab935fbeee57b32f68503395d71d9366e65db73b (diff)
Merge from PE.
Diffstat (limited to 'indra/newview/llinspecttoast.cpp')
-rw-r--r--indra/newview/llinspecttoast.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/llinspecttoast.cpp b/indra/newview/llinspecttoast.cpp
index 0139d76f93..3ca8fa2f56 100644
--- a/indra/newview/llinspecttoast.cpp
+++ b/indra/newview/llinspecttoast.cpp
@@ -1,6 +1,6 @@
/**
- * @file lltoast.h
- * @brief This class implements a placeholder for any notification panel.
+ * @file llinspecttoast.cpp
+ * @brief Toast inspector implementation.
*
* $LicenseInfo:firstyear=2003&license=viewergpl$
*
@@ -37,6 +37,7 @@
#include "llfloaterreg.h"
#include "llscreenchannel.h"
#include "llchannelmanager.h"
+#include "lltransientfloatermgr.h"
using namespace LLNotificationsUI;
@@ -70,10 +71,12 @@ LLInspectToast::LLInspectToast(const LLSD& notification_id) :
llwarns << "Could not get requested screen channel." << llendl;
return;
}
+
+ LLTransientFloaterMgr::getInstance()->addControlView(this);
}
LLInspectToast::~LLInspectToast()
{
-
+ LLTransientFloaterMgr::getInstance()->removeControlView(this);
}
void LLInspectToast::onOpen(const LLSD& notification_id)