From 0e3867122493511520a3cd9347de50b66f9ac962 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 5 Dec 2018 10:41:43 +0400 Subject: [PATCH] Log Qt fatal message to crash report. --- Telegram/SourceFiles/core/crash_reports.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/core/crash_reports.cpp b/Telegram/SourceFiles/core/crash_reports.cpp index 96b754a43..a5c2f01c1 100644 --- a/Telegram/SourceFiles/core/crash_reports.cpp +++ b/Telegram/SourceFiles/core/crash_reports.cpp @@ -125,6 +125,7 @@ void InstallQtMessageHandler() { original(type, context, message); } if (type == QtFatalMsg) { + CrashReports::SetAnnotation("QtFatal", message); Unexpected("Qt FATAL message was generated!"); } });