diff options
| author | Merov Linden <merov@lindenlab.com> | 2013-01-04 20:28:01 -0800 | 
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2013-01-04 20:28:01 -0800 | 
| commit | fbc414c02b80da1c0c5c1ebbbbcb84958938be6e (patch) | |
| tree | 27a1ff7592fa9f9de9e0f3d228076c59174bdd41 /indra/llui/llnotifications.cpp | |
| parent | 12554bffb34895533ed11013a780bfa088756a67 (diff) | |
| parent | 39ff545bab2c1e05b7b9fe14ee99828795f1f78f (diff) | |
Merge with viewer-chui
Diffstat (limited to 'indra/llui/llnotifications.cpp')
| -rw-r--r-- | indra/llui/llnotifications.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index 8fb7a9d864..89fb5ed30c 100644 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -39,7 +39,6 @@  #include "lldir.h"  #include "llsdserialize.h"  #include "lltrans.h" -#include "llnotificationslistener.h"  #include "llstring.h"  #include "llsdparam.h"  #include "llsdutil.h" @@ -993,10 +992,12 @@ bool LLNotificationChannelBase::updateItem(const LLSD& payload, LLNotificationPt  	bool abortProcessing = false;  	if (passesFilter)  	{ +		onFilterPass(pNotification);  		abortProcessing = mPassedFilter(payload);  	}  	else  	{ +		onFilterFail(pNotification);  		abortProcessing = mFailedFilter(payload);  	} @@ -1168,8 +1169,6 @@ LLNotifications::LLNotifications()  	mIgnoreAllNotifications(false)  {  	LLUICtrl::CommitCallbackRegistry::currentRegistrar().add("Notification.Show", boost::bind(&LLNotifications::addFromCallback, this, _2)); - -    mListener.reset(new LLNotificationsListener(*this));  }  | 
