From ad0cb157fe6de4ac9c2b14e74dd41fd5515c2d23 Mon Sep 17 00:00:00 2001
From: Ima Mechanique <none@none>
Date: Thu, 12 May 2011 11:42:46 +0100
Subject: [PATCH] STORM-1175 Fixing close button, for Custom Port warning, in
 Preferences => Setup => Network.

---
 doc/contributions.txt          | 2 ++
 indra/llui/llnotifications.cpp | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/contributions.txt b/doc/contributions.txt
index 09fca27f43d..6f168209be9 100644
--- a/doc/contributions.txt
+++ b/doc/contributions.txt
@@ -365,6 +365,7 @@ Ian Kas
 	CT-325
 Ima Mechanique
 	OPEN-61
+	STORM-1175
 Irene Muni
 	CT-324
 	CT-352
@@ -448,6 +449,7 @@ Kitty Barnett
 	STORM-799
 	STORM-800
 	STORM-1001
+	STORM-1175
     VWR-24217
 Kunnis Basiat
 	VWR-82
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp
index bdac125eb06..6085c61f9a2 100644
--- a/indra/llui/llnotifications.cpp
+++ b/indra/llui/llnotifications.cpp
@@ -1532,7 +1532,7 @@ bool LLNotifications::loadVisibilityRules()
 // Add a simple notification (from XUI)
 void LLNotifications::addFromCallback(const LLSD& name)
 {
-	add(LLNotification::Params().name(name.asString()));	
+	add(name.asString(), LLSD(), LLSD());
 }
 
 LLNotificationPtr LLNotifications::add(const std::string& name, 
-- 
GitLab