Added LLNotificationsUtil and switched LLNotifications::instance().add to LLNotificationsUtil::add in a bazillion places.
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
#include "llresmgr.h"
|
||||
#include "llbutton.h"
|
||||
#include "lldir.h"
|
||||
#include "llnotificationsutil.h"
|
||||
#include "llfloaterchat.h"
|
||||
#include "llviewerstats.h"
|
||||
#include "lluictrlfactory.h"
|
||||
@@ -527,7 +528,7 @@ void LLFloaterCompileQueue::onSaveTextComplete(const LLUUID& asset_id, void* use
|
||||
llwarns << "Unable to save text for script." << llendl;
|
||||
LLSD args;
|
||||
args["REASON"] = std::string(LLAssetStorage::getErrorString(status));
|
||||
LLNotifications::instance().add("CompileQueueSaveText", args);
|
||||
LLNotificationsUtil::add("CompileQueueSaveText", args);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -548,7 +549,7 @@ void LLFloaterCompileQueue::onSaveBytecodeComplete(const LLUUID& asset_id, void*
|
||||
llwarns << "Unable to save bytecode for script." << llendl;
|
||||
LLSD args;
|
||||
args["REASON"] = std::string(LLAssetStorage::getErrorString(status));
|
||||
LLNotifications::instance().add("CompileQueueSaveBytecode", args);
|
||||
LLNotificationsUtil::add("CompileQueueSaveBytecode", args);
|
||||
}
|
||||
delete data;
|
||||
data = NULL;
|
||||
|
||||
Reference in New Issue
Block a user