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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user