History

only start crash hanlder if UserActivityLogger::isEnabled() is true

Seth Alves committed 8 years ago

Commit e32089d1 parent 39f26e31 file · +5 −0Browse files

Showing the changes to interface/src/main.cpp (1 of 1 file). Show all

Unified · Split

interface/src/main.cpp+5−0
@@ -64,6 +64,11 @@ int main(int argc, const char* argv[]) { · 63 unmodified lines
6464
6565 qDebug() << "UserActivityLogger is enabled:" << ual.isEnabled();
6666
67+ if (ual) {
68+ auto crashHandlerStarted = startCrashHandler();
69+ qDebug() << "Crash handler started:" << crashHandlerStarted;
70+ }
71+
6772 QStringList arguments;
6873 for (int i = 0; i < argc; ++i) {
6974 arguments << argv[i];