Make sure to send the specified version to the release note page...
This commit is contained in:
@@ -118,10 +118,10 @@ LLFloaterAbout::LLFloaterAbout()
|
||||
+ llformat(" %d.%d.%d (%d) %s %s (%s)\n",
|
||||
gSavedSettings.getU32("SpecifiedVersionMaj"), gSavedSettings.getU32("SpecifiedVersionMin"), gSavedSettings.getU32("SpecifiedVersionPatch"), gSavedSettings.getU32("SpecifiedVersionBuild"),
|
||||
__DATE__, __TIME__,
|
||||
// <edit>
|
||||
// gSavedSettings.getString("VersionChannelName").c_str());
|
||||
gSavedSettings.getString("SpecifiedChannel").c_str());
|
||||
// </edit>
|
||||
// <edit>
|
||||
// gSavedSettings.getString("VersionChannelName").c_str());
|
||||
gSavedSettings.getString("SpecifiedChannel").c_str());
|
||||
// </edit>
|
||||
support_widget->appendColoredText(version, FALSE, FALSE, gColors.getColor("TextFgReadOnlyColor"));
|
||||
support_widget->appendStyledText(LLTrans::getString("ReleaseNotes"), false, false, viewer_link_style);
|
||||
|
||||
@@ -286,17 +286,18 @@ void LLFloaterAbout::show(void*)
|
||||
static std::string get_viewer_release_notes_url()
|
||||
{
|
||||
std::ostringstream version;
|
||||
version << LL_VERSION_MAJOR << "."
|
||||
<< LL_VERSION_MINOR << "."
|
||||
<< LL_VERSION_PATCH << "."
|
||||
<< LL_VERSION_BUILD;
|
||||
|
||||
// <edit>
|
||||
version << gSavedSettings.getU32("SpecifiedVersionMaj") << "." //LL_VERSION_MAJOR
|
||||
<< gSavedSettings.getU32("SpecifiedVersionMin") << "." //LL_VERSION_MINOR
|
||||
<< gSavedSettings.getU32("SpecifiedVersionPatch") << "." //LL_VERSION_PATCH
|
||||
<< gSavedSettings.getU32("SpecifiedVersionBuild"); //LL_VERSION_BUILD
|
||||
// </edit>
|
||||
LLSD query;
|
||||
// <edit>
|
||||
//query["channel"] = gSavedSettings.getString("VersionChannelName");
|
||||
query["channel"] = gSavedSettings.getString("SpecifiedChannel");
|
||||
// I think the version below is only numbers..
|
||||
// </edit>
|
||||
// <edit>
|
||||
//query["channel"] = gSavedSettings.getString("VersionChannelName");
|
||||
query["channel"] = gSavedSettings.getString("SpecifiedChannel");
|
||||
// I think the version below is only numbers..
|
||||
// </edit>
|
||||
query["version"] = version.str();
|
||||
|
||||
std::ostringstream url;
|
||||
|
||||
Reference in New Issue
Block a user