Skip to content
Snippets Groups Projects
Commit 6b7a7081 authored by Kent Quirk's avatar Kent Quirk
Browse files

STORM-725: add os to updater query url

parent 24f73fda
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include "llsecondlifeurls.h" #include "llsecondlifeurls.h"
#include "v4color.h" #include "v4color.h"
#include "llappviewer.h"
#include "llbutton.h" #include "llbutton.h"
#include "llcheckboxctrl.h" #include "llcheckboxctrl.h"
#include "llcommandhandler.h" // for secondlife:///app/login/ #include "llcommandhandler.h" // for secondlife:///app/login/
...@@ -859,6 +860,13 @@ void LLPanelLogin::loadLoginPage() ...@@ -859,6 +860,13 @@ void LLPanelLogin::loadLoginPage()
char* curl_grid = curl_escape(LLGridManager::getInstance()->getGridLabel().c_str(), 0); char* curl_grid = curl_escape(LLGridManager::getInstance()->getGridLabel().c_str(), 0);
oStr << "&grid=" << curl_grid; oStr << "&grid=" << curl_grid;
curl_free(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()); gViewerWindow->setMenuBackgroundColor(false, !LLGridManager::getInstance()->isInProductionGrid());
gLoginMenuBarView->setBackgroundColor(gMenuBarView->getBackgroundColor()); gLoginMenuBarView->setBackgroundColor(gMenuBarView->getBackgroundColor());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment