summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorKent Quirk <q@lindenlab.com>2011-01-19 10:28:39 -0500
committerKent Quirk <q@lindenlab.com>2011-01-19 10:28:39 -0500
commit6b7a7081c31607bada575dd2f0a226bc5d721fc2 (patch)
tree3a70109a9c9079b4ed3266641ac1cf4a84abbbbb /indra/newview
parent24f73fda0f9a2fa56e3141ca3f84ac76731a85c0 (diff)
STORM-725: add os to updater query url
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanellogin.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index c143aff2d4..8d3b1fd7a0 100644
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -35,6 +35,7 @@
#include "llsecondlifeurls.h"
#include "v4color.h"
+#include "llappviewer.h"
#include "llbutton.h"
#include "llcheckboxctrl.h"
#include "llcommandhandler.h" // for secondlife:///app/login/
@@ -859,6 +860,13 @@ void LLPanelLogin::loadLoginPage()
char* curl_grid = curl_escape(LLGridManager::getInstance()->getGridLabel().c_str(), 0);
oStr << "&grid=" << curl_grid;
curl_free(curl_grid);
+
+ // add OS info
+ char * os_info = curl_escape(LLAppViewer::instance()->getOSInfo().getOSStringSimple().c_str(), 0);
+ oStr << "&os=" << os_info;
+ curl_free(os_info);
+
+
gViewerWindow->setMenuBackgroundColor(false, !LLGridManager::getInstance()->isInProductionGrid());
gLoginMenuBarView->setBackgroundColor(gMenuBarView->getBackgroundColor());