Added LLNotificationsUtil and switched LLNotifications::instance().add to LLNotificationsUtil::add in a bazillion places.
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
#include "llviewermessage.h"
|
||||
#include "llviewercontrol.h"
|
||||
#include "lluictrlfactory.h"
|
||||
#include "llnotificationsutil.h"
|
||||
|
||||
#include "statemachine/aifilepicker.h"
|
||||
#include "hippogridmanager.h"
|
||||
@@ -708,7 +709,7 @@ void LLPanelEditWearable::onBtnCreateNew( void* userdata )
|
||||
LLPanelEditWearable* self = (LLPanelEditWearable*) userdata;
|
||||
LLSD payload;
|
||||
payload["wearable_type"] = (S32)self->getType();
|
||||
LLNotifications::instance().add("AutoWearNewClothing", LLSD(), payload, &onSelectAutoWearOption);
|
||||
LLNotificationsUtil::add("AutoWearNewClothing", LLSD(), payload, &onSelectAutoWearOption);
|
||||
}
|
||||
|
||||
bool LLPanelEditWearable::onSelectAutoWearOption(const LLSD& notification, const LLSD& response)
|
||||
@@ -2723,7 +2724,7 @@ void LLFloaterCustomize::askToSaveIfDirty( void(*next_step_callback)(BOOL procee
|
||||
mNextStepAfterSaveUserdata = userdata;
|
||||
|
||||
// Bring up view-modal dialog: Save changes? Yes, No, Cancel
|
||||
LLNotifications::instance().add("SaveClothingBodyChanges", LLSD(), LLSD(),
|
||||
LLNotificationsUtil::add("SaveClothingBodyChanges", LLSD(), LLSD(),
|
||||
boost::bind(&LLFloaterCustomize::onSaveDialog, this, _1, _2));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user