summaryrefslogtreecommitdiff
path: root/indra/newview/llinspecttoast.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-06-28 10:23:03 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-06-28 10:23:03 -0700
commit49209dfd7123515d76f9598149c1c724d0c0825a (patch)
tree6637f56b9b25973739e597883ee3ebca3019088b /indra/newview/llinspecttoast.cpp
parentadc29e9b9f4d88cd6adfd27b3b516c069f84693c (diff)
parent3fca4b0d61ad4534f26a8963ed6381a76e4f7c19 (diff)
Merge
Diffstat (limited to 'indra/newview/llinspecttoast.cpp')
-rw-r--r--indra/newview/llinspecttoast.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinspecttoast.cpp b/indra/newview/llinspecttoast.cpp
index 3ca8fa2f56..9a10a7ede8 100644
--- a/indra/newview/llinspecttoast.cpp
+++ b/indra/newview/llinspecttoast.cpp
@@ -55,7 +55,7 @@ public:
private:
void onToastDestroy(LLToast * toast);
-private:
+ boost::signals2::scoped_connection mConnection;
LLPanel* mPanel;
LLScreenChannel* mScreenChannel;
};
@@ -88,7 +88,7 @@ void LLInspectToast::onOpen(const LLSD& notification_id)
llwarns << "Could not get requested toast from screen channel." << llendl;
return;
}
- toast->setOnToastDestroyedCallback(boost::bind(&LLInspectToast::onToastDestroy, this, _1));
+ mConnection = toast->setOnToastDestroyedCallback(boost::bind(&LLInspectToast::onToastDestroy, this, _1));
LLPanel * panel = toast->getPanel();
panel->setVisible(TRUE);