aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterabout.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterabout.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp
index a5d2c98..8878de5 100644
--- a/linden/indra/newview/llfloaterabout.cpp
+++ b/linden/indra/newview/llfloaterabout.cpp
@@ -59,7 +59,7 @@
59#include "llglheaders.h" 59#include "llglheaders.h"
60#include "llviewerwindow.h" 60#include "llviewerwindow.h"
61#include "llwindow.h" 61#include "llwindow.h"
62#include "viewerversion.h" 62#include "viewerinfo.h"
63 63
64// [RLVa:KB] 64// [RLVa:KB]
65#include "rlvhandler.h" 65#include "rlvhandler.h"
@@ -120,11 +120,7 @@ LLFloaterAbout::LLFloaterAbout()
120 viewer_link_style->setColor(gSavedSettings.getColor4("HTMLLinkColor")); 120 viewer_link_style->setColor(gSavedSettings.getColor4("HTMLLinkColor"));
121 121
122 // Version string 122 // Version string
123 std::string version = llformat( 123 std::string version = llformat("%s (%s %s)\n", ViewerInfo::prettyInfo().c_str(), __DATE__, __TIME__);
124 "%s %d.%d.%d %s (%s %s)\n",
125 ViewerVersion::getImpViewerName().c_str(),
126 ViewerVersion::getImpMajorVersion(), ViewerVersion::getImpMinorVersion(), ViewerVersion::getImpPatchVersion(), ViewerVersion::getImpTestVersion().c_str(),
127 __DATE__, __TIME__);
128 124
129 support_widget->appendColoredText(version, FALSE, FALSE, gColors.getColor("TextFgReadOnlyColor")); 125 support_widget->appendColoredText(version, FALSE, FALSE, gColors.getColor("TextFgReadOnlyColor"));
130 support_widget->appendStyledText(LLTrans::getString("ReleaseNotes"), false, false, viewer_link_style); 126 support_widget->appendStyledText(LLTrans::getString("ReleaseNotes"), false, false, viewer_link_style);
@@ -318,13 +314,13 @@ void LLFloaterAbout::onClickCopy(void* user_data)
318static std::string get_viewer_release_notes_url() 314static std::string get_viewer_release_notes_url()
319{ 315{
320 std::ostringstream version; 316 std::ostringstream version;
321 version << ViewerVersion::getImpMajorVersion() << "." 317 version << ViewerInfo::versionMajor() << "."
322 << ViewerVersion::getImpMinorVersion() << "." 318 << ViewerInfo::versionMinor() << "."
323 << ViewerVersion::getImpPatchVersion(); 319 << ViewerInfo::versionPatch();
324 320
325 // Append the test version if it's not empty 321 // Append the test version if it's not empty
326 if( !(ViewerVersion::getImpTestVersion().empty()) ) 322 if( !(ViewerInfo::versionExtra().empty()) )
327 version << "-" << ViewerVersion::getImpTestVersion(); 323 version << "-" << ViewerInfo::versionExtra();
328 324
329 std::ostringstream url; 325 std::ostringstream url;
330 url << RELEASE_NOTES_BASE_URL << version.str(); 326 url << RELEASE_NOTES_BASE_URL << version.str();