Added LLNotificationsUtil and switched LLNotifications::instance().add to LLNotificationsUtil::add in a bazillion places.
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
#include "llinventorymodel.h" // for gInventory
|
||||
#include "llinventorydefines.h"
|
||||
#include "llinventoryview.h" // for get_item_icon
|
||||
#include "llnotificationsutil.h"
|
||||
#include "llselectmgr.h"
|
||||
#include "llscrolllistctrl.h"
|
||||
#include "llviewerobject.h"
|
||||
@@ -90,7 +91,7 @@ void LLFloaterBuy::show(const LLSaleInfo& sale_info)
|
||||
|
||||
if (selection->getRootObjectCount() != 1)
|
||||
{
|
||||
LLNotifications::instance().add("BuyOneObjectOnly");
|
||||
LLNotificationsUtil::add("BuyOneObjectOnly");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -140,7 +141,7 @@ void LLFloaterBuy::show(const LLSaleInfo& sale_info)
|
||||
BOOL owners_identical = LLSelectMgr::getInstance()->selectGetOwner(owner_id, owner_name);
|
||||
if (!owners_identical)
|
||||
{
|
||||
LLNotifications::instance().add("BuyObjectOneOwner");
|
||||
LLNotificationsUtil::add("BuyObjectOneOwner");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user