mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Moved tmp string for temporary folder to single place.
This commit is contained in:
@@ -255,7 +255,7 @@ void Application::run() {
|
||||
if (KSandbox::isInside()) {
|
||||
const auto path = settings().downloadPath();
|
||||
if (!path.isEmpty()
|
||||
&& path != qstr("tmp")
|
||||
&& path != FileDialog::Tmp()
|
||||
&& !base::CanReadDirectory(path)) {
|
||||
settings().setDownloadPath(QString());
|
||||
}
|
||||
|
Reference in New Issue
Block a user