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

@@ -65,7 +65,7 @@
//
#include "llfloateravatarinfo.h"
#include "llviewermenu.h"
#include "llnotify.h"
#include "llnotificationsutil.h"
//-----------------------------------------------------------------------------
// Constants
@@ -189,7 +189,7 @@ void LLPanelDirClassified::performQuery()
BOOL inc_adult = childGetValue("incadult").asBoolean();
if (!(inc_pg || inc_mature || inc_adult))
{
LLNotifications::instance().add("NoContentToSearch");
LLNotificationsUtil::add("NoContentToSearch");
return;
}