Log Qt fatal message to crash report.

This commit is contained in:
John Preston 2018-12-05 10:41:43 +04:00
parent 910b2f2b74
commit 0e38671224

View File

@ -125,6 +125,7 @@ void InstallQtMessageHandler() {
original(type, context, message);
}
if (type == QtFatalMsg) {
CrashReports::SetAnnotation("QtFatal", message);
Unexpected("Qt FATAL message was generated!");
}
});