mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Restored the default behaviour of exiting the app after a fatal error log. I didn't see fatal log messages, so this should be safe.
This commit is contained in:
parent
770aeb2533
commit
5ae7e9fd3f
@ -62,8 +62,9 @@ void Logger::msgHandler(const QtMsgType type, const QString &message, const QStr
|
||||
}
|
||||
|
||||
// Abort the program after logging a fatal message
|
||||
if (type>=QtFatalMsg) {
|
||||
//abort();
|
||||
if (type>=QtFatalMsg)
|
||||
{
|
||||
abort();
|
||||
}
|
||||
|
||||
recursiveMutex.unlock();
|
||||
|
Loading…
Reference in New Issue
Block a user