mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
fixed crash reports for windows
This commit is contained in:
@@ -2024,6 +2024,9 @@ LastCrashedWindow::LastCrashedWindow()
|
||||
if (!possibleDump.startsWith('/')) {
|
||||
possibleDump = cWorkingDir() + qsl("tdumps/") + possibleDump;
|
||||
}
|
||||
if (!possibleDump.endsWith('.dmp')) {
|
||||
possibleDump += qsl(".dmp");
|
||||
}
|
||||
QFileInfo possibleInfo(possibleDump);
|
||||
if (possibleInfo.exists()) {
|
||||
_minidumpName = possibleInfo.fileName();
|
||||
|
||||
Reference in New Issue
Block a user