mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
fix(windows): remove our hack to crash on windows for fatal logs
no need to carry some hack when we can use the same standard and cross platform feature directly from Qt code Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
a4263b73e6
commit
7774f575b8
@ -164,10 +164,6 @@ void Logger::doLog(QtMsgType type, const QMessageLogContext &ctx, const QString
|
||||
dumpCrashLog();
|
||||
closeNoLock();
|
||||
s_originalMessageHandler(type, ctx, message);
|
||||
#if defined(Q_OS_WIN)
|
||||
// Make application terminate in a way that can be caught by the crash reporter
|
||||
Utility::crash();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
emit logWindowLog(msg);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user