2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Remove legacy temp download folder.

This commit is contained in:
John Preston
2020-06-23 20:02:15 +04:00
parent 4add6234b6
commit 4d65df6ca2
12 changed files with 19 additions and 210 deletions

View File

@@ -180,7 +180,7 @@ QString FileNameUnsafe(
if (path.isEmpty()) {
return File::DefaultDownloadPath(session);
} else if (path == qsl("tmp")) {
return cTempDir();
return session->local().tempDirectory();
} else {
return path;
}