summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerstats.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2008-05-09 04:39:03 +0000
committerSteven Bennetts <steve@lindenlab.com>2008-05-09 04:39:03 +0000
commitdbe0176552e070baef9a693252cb47dda97d1fb4 (patch)
tree8aaf4328e561ccfd21890f21a4d47a4d60922ec5 /indra/newview/llviewerstats.cpp
parent1bad68eb4b7d712b02cbd4b74639fcf265983c8d (diff)
QAR-565 search-milestone2-merge (more web tabs in search)
dataserver-is-deprecated
Diffstat (limited to 'indra/newview/llviewerstats.cpp')
-rw-r--r--indra/newview/llviewerstats.cpp8
1 files changed, 7 insertions, 1 deletions
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