summaryrefslogtreecommitdiff
path: root/indra/newview/lltoast.cpp
diff options
context:
space:
mode:
authorDessie Linden <dessie@lindenlab.com>2010-10-19 13:47:15 -0700
committerDessie Linden <dessie@lindenlab.com>2010-10-19 13:47:15 -0700
commit42e397e155239932a75fa694dc77d9dd952e3c09 (patch)
tree1d3cb00d99a585879facf6dce5b7133dbd8ad6da /indra/newview/lltoast.cpp
parenta63b83775120f7ebe3bafb897da70e4e41bda6a4 (diff)
parentc683151587067cb2758206432610d4ff4884036e (diff)
Merged from 2.3.0-beta1 tag in viewer-development
Diffstat (limited to 'indra/newview/lltoast.cpp')
-rw-r--r--indra/newview/lltoast.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lltoast.cpp b/indra/newview/lltoast.cpp
index 749cf2c948..c3090cb1fc 100644
--- a/indra/newview/lltoast.cpp
+++ b/indra/newview/lltoast.cpp
@@ -77,7 +77,7 @@ LLToast::LLToast(const LLToast::Params& p)
{
mTimer.reset(new LLToastLifeTimer(this, p.lifetime_secs));
- LLUICtrlFactory::getInstance()->buildFloater(this, "panel_toast.xml", NULL);
+ buildFromFile("panel_toast.xml", NULL);
setCanDrag(FALSE);
@@ -102,6 +102,7 @@ LLToast::LLToast(const LLToast::Params& p)
if(!p.on_delete_toast().empty())
mOnDeleteToastSignal.connect(p.on_delete_toast());
+ // *TODO: This signal doesn't seem to be used at all.
if(!p.on_mouse_enter().empty())
mOnMouseEnterSignal.connect(p.on_mouse_enter());
}