Modernize and improve upon LLFloaterReporter to fix Issue 822: Report Abuse does not populate Region Name or screenshot correctly
Cleans up related bits in xmls/translations
This commit is contained in:
@@ -5144,10 +5144,9 @@ void LLSelectMgr::processObjectPropertiesFamily(LLMessageSystem* msg, void** use
|
||||
msg->getStringFast(_PREHASH_ObjectData, _PREHASH_Description, desc);
|
||||
|
||||
// the reporter widget askes the server for info about picked objects
|
||||
if (request_flags & (COMPLAINT_REPORT_REQUEST | BUG_REPORT_REQUEST))
|
||||
if (request_flags & COMPLAINT_REPORT_REQUEST)
|
||||
{
|
||||
EReportType report_type = (COMPLAINT_REPORT_REQUEST & request_flags) ? COMPLAINT_REPORT : BUG_REPORT;
|
||||
LLFloaterReporter *reporterp = LLFloaterReporter::getReporter(report_type);
|
||||
LLFloaterReporter *reporterp = LLFloaterReporter::getInstance();
|
||||
if (reporterp)
|
||||
{
|
||||
std::string fullname;
|
||||
|
||||
Reference in New Issue
Block a user