Added notification that chat report has been sent after the user logs in.

This will also add a line in the chat log with the report id
This commit is contained in:
Latif Khalifa
2013-11-26 00:38:00 +01:00
parent 362415fe8a
commit 4e79bce3e2
4 changed files with 27 additions and 3 deletions

View File

@@ -4694,6 +4694,14 @@ void LLAppViewer::handleLoginComplete()
gDebugInfo["MainloopTimeoutState"] = LLAppViewer::instance()->mMainloopTimeout->getState();
}
// After login is complete, check if the crash report has been sent in this session
// If it has, insert a notification
if (LLCrashLogger::sReportID)
{
LLNotificationsUtil::add("CrashReportSent", LLSD().with("REPORT_ID", llformat("%d", LLCrashLogger::sReportID)));
LLCrashLogger::sReportID = 0;
}
mOnLoginCompleted();
writeDebugInfo();