diff options
| -rw-r--r-- | indra/newview/llfloaterabout.cpp | 22 | 
1 files changed, 22 insertions, 0 deletions
diff --git a/indra/newview/llfloaterabout.cpp b/indra/newview/llfloaterabout.cpp index c0446d9668..63ea990d14 100644 --- a/indra/newview/llfloaterabout.cpp +++ b/indra/newview/llfloaterabout.cpp @@ -63,6 +63,7 @@  #include "llwindow.h"
  #include "stringize.h"
  #include "llsdutil_math.h"
 +#include "lleventdispatcher.h"
  #if LL_WINDOWS
  #include "lldxhardware.h"
 @@ -299,6 +300,27 @@ static std::string get_viewer_release_notes_url()  	return LLWeb::escapeURL(url.str());
  }
 +class LLFloaterAboutListener: public LLDispatchListener
 +{
 +public:
 +	LLFloaterAboutListener():
 +		LLDispatchListener("LLFloaterAbout", "op")
 +	{
 +		add("getInfo", &LLFloaterAboutListener::getInfo, LLSD().insert("reply", LLSD()));
 +	}
 +
 +private:
 +	void getInfo(const LLSD& request) const
 +	{
 +		LLReqID reqid(request);
 +		LLSD reply(LLFloaterAbout::getInfo());
 +		reqid.stamp(reply);
 +		LLEventPumps::instance().obtain(request["reply"]).post(reply);
 +	}
 +};
 +
 +static LLFloaterAboutListener floaterAboutListener;
 +
  void LLFloaterAbout::onClickCopyToClipboard()
  {
  	LLViewerTextEditor *support_widget = 
  | 
