aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermedia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewermedia.cpp')
-rw-r--r--linden/indra/newview/llviewermedia.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/linden/indra/newview/llviewermedia.cpp b/linden/indra/newview/llviewermedia.cpp
index 0429a3c..f318d07 100644
--- a/linden/indra/newview/llviewermedia.cpp
+++ b/linden/indra/newview/llviewermedia.cpp
@@ -44,9 +44,6 @@
44#include "llmediamanager.h" 44#include "llmediamanager.h"
45#include "lluuid.h" 45#include "lluuid.h"
46 46
47// don't want to include llappviewer.h
48extern std::string gChannelName;
49
50// Implementation functions not exported into header file 47// Implementation functions not exported into header file
51class LLViewerMediaImpl 48class LLViewerMediaImpl
52 : public LLMediaObserver 49 : public LLMediaObserver
@@ -456,7 +453,7 @@ void LLViewerMedia::initClass()
456 // append our magic version number string to the browser user agent id 453 // append our magic version number string to the browser user agent id
457 std::ostringstream codec; 454 std::ostringstream codec;
458 codec << "[Second Life "; 455 codec << "[Second Life ";
459 codec << "(" << gChannelName << ")"; 456 codec << "(" << gSavedSettings.getString("VersionChannelName") << ")";
460 codec << " - " << LL_VERSION_MAJOR << "." << LL_VERSION_MINOR << "." << LL_VERSION_PATCH << "." << LL_VERSION_BUILD; 457 codec << " - " << LL_VERSION_MAJOR << "." << LL_VERSION_MINOR << "." << LL_VERSION_PATCH << "." << LL_VERSION_BUILD;
461 codec << "]"; 458 codec << "]";
462 init_data->setBrowserUserAgentId( codec.str() ); 459 init_data->setBrowserUserAgentId( codec.str() );