From dbe0176552e070baef9a693252cb47dda97d1fb4 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Fri, 9 May 2008 04:39:03 +0000 Subject: QAR-565 search-milestone2-merge (more web tabs in search) dataserver-is-deprecated --- indra/newview/llviewerstats.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'indra/newview/llviewerstats.cpp') diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp index 7c99d5f65c..c97c3d6952 100644 --- a/indra/newview/llviewerstats.cpp +++ b/indra/newview/llviewerstats.cpp @@ -53,6 +53,7 @@ #include "llfasttimerview.h" #include "llviewerregion.h" #include "llfloaterhtml.h" +#include "llviewerwindow.h" // *TODO: remove, only used for width/height #include "llworld.h" #include "llfeaturemanager.h" #if LL_WINDOWS && LL_LCD_COMPILE @@ -748,7 +749,12 @@ void send_stats() // If the current revision is recent, ping the previous author before overriding LLSD &misc = body["stats"]["misc"]; - // misc["string_1"] = + // Screen size so the UI team can figure out how big the widgets + // appear and use a "typical" size for end user tests. + + S32 window_width = gViewerWindow->getWindowDisplayWidth(); + S32 window_height = gViewerWindow->getWindowDisplayHeight(); + misc["string_1"] = llformat("%.dx%d", window_width, window_height); // misc["string_2"] = misc["int_1"] = LLFloaterDirectory::sOldSearchCount; // Steve: 1.18.6 misc["int_2"] = LLFloaterDirectory::sNewSearchCount; // Steve: 1.18.6 -- cgit v1.2.3