Skip to content
Snippets Groups Projects
Commit daf8b882 authored by Glenn Glazer's avatar Glenn Glazer
Browse files

maint-5974 / maint-5422: rip crash logger save behavior out of windows logger

parent 68745390
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,6 @@ class LLCrashLogger : public LLApp ...@@ -51,7 +51,6 @@ class LLCrashLogger : public LLApp
void mergeLogs( LLSD src_sd ); void mergeLogs( LLSD src_sd );
virtual void gatherPlatformSpecificFiles() {} virtual void gatherPlatformSpecificFiles() {}
bool saveCrashBehaviorSetting(S32 crash_behavior);
bool sendCrashLog(std::string dump_dir); bool sendCrashLog(std::string dump_dir);
bool sendCrashLogs(); bool sendCrashLogs();
LLSD constructPostData(); LLSD constructPostData();
......
...@@ -171,22 +171,6 @@ bool handle_button_click(WORD button_id) ...@@ -171,22 +171,6 @@ bool handle_button_click(WORD button_id)
return false; return false;
} }
// See if "do this next time" is checked and save state
S32 crash_behavior = CRASH_BEHAVIOR_ASK;
LRESULT result = SendDlgItemMessage(gHwndReport, IDC_CHECK_AUTO, BM_GETCHECK, 0, 0);
if (result == BST_CHECKED)
{
if (button_id == IDOK)
{
crash_behavior = CRASH_BEHAVIOR_ALWAYS_SEND;
}
else if (button_id == IDCANCEL)
{
crash_behavior = CRASH_BEHAVIOR_NEVER_SEND;
}
((LLCrashLoggerWindows*)LLCrashLogger::instance())->saveCrashBehaviorSetting(crash_behavior);
}
// We're done with this dialog. // We're done with this dialog.
gFirstDialog = FALSE; gFirstDialog = FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment