summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterabout.cpp
diff options
context:
space:
mode:
authorJosh Bell <josh@lindenlab.com>2008-02-14 01:45:59 +0000
committerJosh Bell <josh@lindenlab.com>2008-02-14 01:45:59 +0000
commit98fd90ddd6595f2ee7e626c14117f51def621ec5 (patch)
tree9a9caf8bffa53b753fe850f445bd133195e9bb03 /indra/newview/llfloaterabout.cpp
parent89d938efe371645756240da72f4c359c36985060 (diff)
svn merge -r 79730:79944 svn+ssh://svn.lindenlab.com/svn/linden/branches/parcel_media/sl-parcelmedia-6 --> release
QAR-275 Parcel Media Sam made me do it.
Diffstat (limited to 'indra/newview/llfloaterabout.cpp')
-rw-r--r--indra/newview/llfloaterabout.cpp24
1 files changed, 14 insertions, 10 deletions
diff --git a/indra/newview/llfloaterabout.cpp b/indra/newview/llfloaterabout.cpp
index 01e529078f..7da2ac79b1 100644
--- a/indra/newview/llfloaterabout.cpp
+++ b/indra/newview/llfloaterabout.cpp
@@ -48,12 +48,9 @@
#include "llviewerbuild.h"
#include "llvieweruictrlfactory.h"
#include "llappviewer.h"
-
-#if LL_LIBXUL_ENABLED
-#include "llmozlib.h"
-#endif // LL_LIBXUL_ENABLED
-
#include "llglheaders.h"
+#include "llmediamanager.h"
+
extern LLCPUInfo gSysCPU;
extern LLMemoryInfo gSysMemory;
@@ -147,11 +144,18 @@ LLFloaterAbout::LLFloaterAbout()
support.append( (const char*) glGetString(GL_VERSION) );
support.append("\n");
-#if LL_LIBXUL_ENABLED
- support.append("LLMozLib Version: ");
- support.append( (const char*) LLMozLib::getInstance()->getVersion().c_str() );
- support.append("\n");
-#endif // LL_LIBXUL_ENABLED
+ LLMediaManager *mgr = LLMediaManager::getInstance();
+ if (mgr)
+ {
+ LLMediaBase *media_source = mgr->createSourceFromMimeType("http", "text/html");
+ if (media_source)
+ {
+ support.append("LLMozLib Version: ");
+ support.append((const char*) media_source->getVersion().c_str());
+ support.append("\n");
+ mgr->destroySource(media_source);
+ }
+ }
if (gViewerStats
&& gPacketsIn > 0)