mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
only start crash hanlder if UserActivityLogger::isEnabled() is true
This commit is contained in:
parent
39f26e35f0
commit
e32089d3dd
1 changed files with 5 additions and 0 deletions
|
@ -64,6 +64,11 @@ int main(int argc, const char* argv[]) {
|
|||
|
||||
qDebug() << "UserActivityLogger is enabled:" << ual.isEnabled();
|
||||
|
||||
if (ual) {
|
||||
auto crashHandlerStarted = startCrashHandler();
|
||||
qDebug() << "Crash handler started:" << crashHandlerStarted;
|
||||
}
|
||||
|
||||
QStringList arguments;
|
||||
for (int i = 0; i < argc; ++i) {
|
||||
arguments << argv[i];
|
||||
|
|
Loading…
Reference in a new issue