2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Moved tmp string for temporary folder to single place.

This commit is contained in:
23rd
2022-11-30 03:05:55 +03:00
parent 47bb04b019
commit f8a17bd9c9
10 changed files with 34 additions and 21 deletions

View File

@@ -149,7 +149,7 @@ QString FileNameUnsafe(
const auto path = Core::App().settings().downloadPath();
if (path.isEmpty()) {
return File::DefaultDownloadPath(session);
} else if (path == u"tmp"_q) {
} else if (path == FileDialog::Tmp()) {
return session->local().tempDirectory();
} else {
return path;