bool LLCrashLoggerLinux::mainLoop() { if(!do_ask_dialog()) { return true; } sendCrashLogs(); return true; }
bool LLCrashLoggerLinux::mainLoop() { bool send_logs = true; if(CRASH_BEHAVIOR_ASK == getCrashBehavior()) { send_logs = do_ask_dialog(); } else if(CRASH_BEHAVIOR_NEVER_SEND == getCrashBehavior()) { send_logs = false; } if(send_logs) { sendCrashLogs(); } return true; }