diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-10-27 17:39:07 -0400 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-10-27 17:39:07 -0400 | 
| commit | 5c868a90f2e30245771aa1ef402645d6d3f12ab1 (patch) | |
| tree | df53282d68f05180c030a9890969b080b5e6d70f /indra/newview | |
| parent | 1e70d53b198e15a85138a8f0ebdf6f77f070f916 (diff) | |
SH-2635 FIX - always send crash report if previous session froze
Diffstat (limited to 'indra/newview')
| -rwxr-xr-x[-rw-r--r--] | indra/newview/llappviewer.cpp | 39 | 
1 files changed, 3 insertions, 36 deletions
| diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index ecfd101eeb..dc88c81d6a 100644..100755 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2825,48 +2825,15 @@ void LLAppViewer::initUpdater()  void LLAppViewer::checkForCrash(void)  { -      #if LL_SEND_CRASH_REPORTS  	if (gLastExecEvent == LAST_EXEC_FROZE)      { -        llinfos << "Last execution froze, requesting to send crash report." << llendl; -        // -        // Pop up a freeze or crash warning dialog -        // -        S32 choice; -	const S32 cb = gCrashSettings.getS32("CrashSubmitBehavior"); -        if(cb == CRASH_BEHAVIOR_ASK) -        { -            std::ostringstream msg; -			msg << LLTrans::getString("MBFrozenCrashed"); -			std::string alert = LLTrans::getString("APP_NAME") + " " + LLTrans::getString("MBAlert"); -            choice = OSMessageBox(msg.str(), -                                  alert, -                                  OSMB_YESNO); -        }  -        else if(cb == CRASH_BEHAVIOR_NEVER_SEND) -        { -            choice = OSBTN_NO; -        } -        else -        { -            choice = OSBTN_YES; -        } - -        if (OSBTN_YES == choice) -        { -            llinfos << "Sending crash report." << llendl; +        llinfos << "Last execution froze, sending a crash report." << llendl; -            bool report_freeze = true; -            handleCrashReporting(report_freeze); -        } -        else -        { -            llinfos << "Not sending crash report." << llendl; -        } +		bool report_freeze = true; +		handleCrashReporting(report_freeze);      }  #endif // LL_SEND_CRASH_REPORTS     -      }  // | 
