mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 06:32:35 +02:00
Update interface/src/main.cpp
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
This commit is contained in:
parent
f7b0437bc8
commit
9b253c3a32
1 changed files with 3 additions and 6 deletions
|
@ -220,12 +220,9 @@ int main(int argc, const char* argv[]) {
|
|||
}
|
||||
qDebug() << "UserActivityLogger is enabled:" << ual.isEnabled();
|
||||
|
||||
bool forceCrashReporting = false;
|
||||
if (parser.isSet(forceCrashReportingOption)) {
|
||||
forceCrashReporting = true;
|
||||
}
|
||||
qDebug() << "Crash handler logger is enabled:" << (forceCrashReporting || ual.isCrashMonitorEnabled());
|
||||
if (forceCrashReporting || ual.isCrashMonitorEnabled()) {
|
||||
bool isCrashHandlerEnabled = ual.isCrashMonitorEnabled() || parser.isSet(forceCrashReportingOption);
|
||||
qDebug() << "Crash handler logger is enabled:" << isCrashHandlerEnabled;
|
||||
if (isCrashHandlerEnabled) {
|
||||
auto crashHandlerStarted = startCrashHandler(argv[0]);
|
||||
qDebug() << "Crash handler started:" << crashHandlerStarted;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue