diff options
Diffstat (limited to 'linden/indra/newview/llfloaterreporter.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterreporter.cpp | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/linden/indra/newview/llfloaterreporter.cpp b/linden/indra/newview/llfloaterreporter.cpp index 15f278d..16123ae 100644 --- a/linden/indra/newview/llfloaterreporter.cpp +++ b/linden/indra/newview/llfloaterreporter.cpp | |||
@@ -80,7 +80,7 @@ | |||
80 | #include "llselectmgr.h" | 80 | #include "llselectmgr.h" |
81 | #include "lluictrlfactory.h" | 81 | #include "lluictrlfactory.h" |
82 | #include "llviewernetwork.h" | 82 | #include "llviewernetwork.h" |
83 | #include "viewerversion.h" | 83 | #include "viewerinfo.h" |
84 | 84 | ||
85 | #include "llassetuploadresponders.h" | 85 | #include "llassetuploadresponders.h" |
86 | 86 | ||
@@ -742,13 +742,11 @@ LLSD LLFloaterReporter::gatherReport() | |||
742 | 742 | ||
743 | if ( mReportType == BUG_REPORT) | 743 | if ( mReportType == BUG_REPORT) |
744 | { | 744 | { |
745 | summary << short_platform << " V" << ViewerVersion::getLLMajorVersion() << "." | 745 | summary << short_platform << " " |
746 | << ViewerVersion::getLLMinorVersion() << "." | 746 | << ViewerInfo::terseInfo() |
747 | << ViewerVersion::getLLPatchVersion() << "." | 747 | << " (" << regionp->getName() << ")" |
748 | << ViewerVersion::getLLBuildVersion() | 748 | << "[" << category_name << "] " |
749 | << " (" << regionp->getName() << ")" | 749 | << "\"" << childGetValue("summary_edit").asString() << "\""; |
750 | << "[" << category_name << "] " | ||
751 | << "\"" << childGetValue("summary_edit").asString() << "\""; | ||
752 | } | 750 | } |
753 | else | 751 | else |
754 | { | 752 | { |
@@ -763,10 +761,7 @@ LLSD LLFloaterReporter::gatherReport() | |||
763 | std::ostringstream details; | 761 | std::ostringstream details; |
764 | if (mReportType != BUG_REPORT) | 762 | if (mReportType != BUG_REPORT) |
765 | { | 763 | { |
766 | details << "V" << ViewerVersion::getLLMajorVersion() << "." // client version moved to body of email for abuse reports | 764 | details << ViewerInfo::terseInfo() << std::endl << std::endl; |
767 | << ViewerVersion::getLLMinorVersion() << "." | ||
768 | << ViewerVersion::getLLPatchVersion() << "." | ||
769 | << ViewerVersion::getLLBuildVersion() << std::endl << std::endl; | ||
770 | } | 765 | } |
771 | std::string object_name = childGetText("object_name"); | 766 | std::string object_name = childGetText("object_name"); |
772 | std::string owner_name = childGetText("owner_name"); | 767 | std::string owner_name = childGetText("owner_name"); |
@@ -786,10 +781,8 @@ LLSD LLFloaterReporter::gatherReport() | |||
786 | 781 | ||
787 | std::string version_string; | 782 | std::string version_string; |
788 | version_string = llformat( | 783 | version_string = llformat( |
789 | "%d.%d.%d %s %s %s %s", | 784 | "%s %s %s %s %s", |
790 | ViewerVersion::getLLMajorVersion(), | 785 | ViewerInfo::terseInfo().c_str(), |
791 | ViewerVersion::getLLMinorVersion(), | ||
792 | ViewerVersion::getLLPatchVersion(), | ||
793 | platform, | 786 | platform, |
794 | gSysCPU.getFamily().c_str(), | 787 | gSysCPU.getFamily().c_str(), |
795 | gGLManager.mGLRenderer.c_str(), | 788 | gGLManager.mGLRenderer.c_str(), |