Added LLNotificationsUtil and switched LLNotifications::instance().add to LLNotificationsUtil::add in a bazillion places.

This commit is contained in:
Shyotl
2011-09-03 19:30:42 -05:00
parent 7b2aa741aa
commit 417f5084b4
124 changed files with 912 additions and 623 deletions

View File

@@ -191,6 +191,9 @@
#include "llviewernetwork.h"
#include "llpostprocess.h"
#include "llnotifications.h"
#include "llnotificationsutil.h"
#include "llfloatertest.h" // HACK!
#include "llfloaternotificationsconsole.h"
@@ -5217,7 +5220,7 @@ BOOL LLViewerWindow::changeDisplaySettings(BOOL fullscreen, LLCoordScreen size,
LLSD args;
args["RESX"] = llformat("%d",size.mX);
args["RESY"] = llformat("%d",size.mY);
LLNotifications::instance().add("ResolutionSwitchFail", args);
LLNotificationsUtil::add("ResolutionSwitchFail", args);
size = old_size; // for reshape below
}