aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerstats.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/newview/llviewerstats.cpp
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewerstats.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerstats.cpp b/linden/indra/newview/llviewerstats.cpp
index 9f10bbf..52b6748 100644
--- a/linden/indra/newview/llviewerstats.cpp
+++ b/linden/indra/newview/llviewerstats.cpp
@@ -53,6 +53,7 @@
53#include "llfasttimerview.h" 53#include "llfasttimerview.h"
54#include "llviewerregion.h" 54#include "llviewerregion.h"
55#include "llfloaterhtml.h" 55#include "llfloaterhtml.h"
56#include "llviewerwindow.h" // *TODO: remove, only used for width/height
56#include "llworld.h" 57#include "llworld.h"
57#include "llfeaturemanager.h" 58#include "llfeaturemanager.h"
58#if LL_WINDOWS && LL_LCD_COMPILE 59#if LL_WINDOWS && LL_LCD_COMPILE
@@ -748,7 +749,12 @@ void send_stats()
748 // If the current revision is recent, ping the previous author before overriding 749 // If the current revision is recent, ping the previous author before overriding
749 LLSD &misc = body["stats"]["misc"]; 750 LLSD &misc = body["stats"]["misc"];
750 751
751 // misc["string_1"] = 752 // Screen size so the UI team can figure out how big the widgets
753 // appear and use a "typical" size for end user tests.
754
755 S32 window_width = gViewerWindow->getWindowDisplayWidth();
756 S32 window_height = gViewerWindow->getWindowDisplayHeight();
757 misc["string_1"] = llformat("%.dx%d", window_width, window_height);
752 // misc["string_2"] = 758 // misc["string_2"] =
753 misc["int_1"] = LLFloaterDirectory::sOldSearchCount; // Steve: 1.18.6 759 misc["int_1"] = LLFloaterDirectory::sOldSearchCount; // Steve: 1.18.6
754 misc["int_2"] = LLFloaterDirectory::sNewSearchCount; // Steve: 1.18.6 760 misc["int_2"] = LLFloaterDirectory::sNewSearchCount; // Steve: 1.18.6