diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterreporter.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/linden/indra/newview/llfloaterreporter.cpp b/linden/indra/newview/llfloaterreporter.cpp index 7a5f2ba..a7f41ea 100644 --- a/linden/indra/newview/llfloaterreporter.cpp +++ b/linden/indra/newview/llfloaterreporter.cpp | |||
@@ -45,7 +45,6 @@ | |||
45 | #include "llinventory.h" | 45 | #include "llinventory.h" |
46 | #include "llstring.h" | 46 | #include "llstring.h" |
47 | #include "llsys.h" | 47 | #include "llsys.h" |
48 | #include "llversionviewer.h" | ||
49 | #include "message.h" | 48 | #include "message.h" |
50 | #include "v3math.h" | 49 | #include "v3math.h" |
51 | 50 | ||
@@ -79,9 +78,9 @@ | |||
79 | #include "llfloateravatarpicker.h" | 78 | #include "llfloateravatarpicker.h" |
80 | #include "lldir.h" | 79 | #include "lldir.h" |
81 | #include "llselectmgr.h" | 80 | #include "llselectmgr.h" |
82 | #include "llviewerbuild.h" | ||
83 | #include "lluictrlfactory.h" | 81 | #include "lluictrlfactory.h" |
84 | #include "llviewernetwork.h" | 82 | #include "llviewernetwork.h" |
83 | #include "viewerversion.h" | ||
85 | 84 | ||
86 | #include "llassetuploadresponders.h" | 85 | #include "llassetuploadresponders.h" |
87 | 86 | ||
@@ -738,10 +737,10 @@ LLSD LLFloaterReporter::gatherReport() | |||
738 | 737 | ||
739 | if ( mReportType == BUG_REPORT) | 738 | if ( mReportType == BUG_REPORT) |
740 | { | 739 | { |
741 | summary << short_platform << " V" << LL_VERSION_MAJOR << "." | 740 | summary << short_platform << " V" << ViewerVersion::getLLMajorVersion() << "." |
742 | << LL_VERSION_MINOR << "." | 741 | << ViewerVersion::getLLMinorVersion() << "." |
743 | << LL_VERSION_PATCH << "." | 742 | << ViewerVersion::getLLPatchVersion() << "." |
744 | << LL_VIEWER_BUILD | 743 | << ViewerVersion::getLLBuildVersion() |
745 | << " (" << regionp->getName() << ")" | 744 | << " (" << regionp->getName() << ")" |
746 | << "[" << category_name << "] " | 745 | << "[" << category_name << "] " |
747 | << "\"" << childGetValue("summary_edit").asString() << "\""; | 746 | << "\"" << childGetValue("summary_edit").asString() << "\""; |
@@ -759,10 +758,10 @@ LLSD LLFloaterReporter::gatherReport() | |||
759 | std::ostringstream details; | 758 | std::ostringstream details; |
760 | if (mReportType != BUG_REPORT) | 759 | if (mReportType != BUG_REPORT) |
761 | { | 760 | { |
762 | details << "V" << LL_VERSION_MAJOR << "." // client version moved to body of email for abuse reports | 761 | details << "V" << ViewerVersion::getLLMajorVersion() << "." // client version moved to body of email for abuse reports |
763 | << LL_VERSION_MINOR << "." | 762 | << ViewerVersion::getLLMinorVersion() << "." |
764 | << LL_VERSION_PATCH << "." | 763 | << ViewerVersion::getLLPatchVersion() << "." |
765 | << LL_VIEWER_BUILD << std::endl << std::endl; | 764 | << ViewerVersion::getLLBuildVersion() << std::endl << std::endl; |
766 | } | 765 | } |
767 | std::string object_name = childGetText("object_name"); | 766 | std::string object_name = childGetText("object_name"); |
768 | std::string owner_name = childGetText("owner_name"); | 767 | std::string owner_name = childGetText("owner_name"); |
@@ -783,9 +782,9 @@ LLSD LLFloaterReporter::gatherReport() | |||
783 | std::string version_string; | 782 | std::string version_string; |
784 | version_string = llformat( | 783 | version_string = llformat( |
785 | "%d.%d.%d %s %s %s %s", | 784 | "%d.%d.%d %s %s %s %s", |
786 | LL_VERSION_MAJOR, | 785 | ViewerVersion::getLLMajorVersion(), |
787 | LL_VERSION_MINOR, | 786 | ViewerVersion::getLLMinorVersion(), |
788 | LL_VERSION_PATCH, | 787 | ViewerVersion::getLLPatchVersion(), |
789 | platform, | 788 | platform, |
790 | gSysCPU.getFamily().c_str(), | 789 | gSysCPU.getFamily().c_str(), |
791 | gGLManager.mGLRenderer.c_str(), | 790 | gGLManager.mGLRenderer.c_str(), |