mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-11 04:01:18 +00:00
QDir::tempPath already has fallback to /tmp
This commit is contained in:
parent
ede7ad1a4c
commit
d9711f8ebd
@ -701,10 +701,6 @@ QString AppRuntimeDirectory() {
|
||||
runtimeDir = QDir::tempPath();
|
||||
}
|
||||
|
||||
if (runtimeDir.isEmpty()) {
|
||||
runtimeDir = qsl("/tmp/");
|
||||
}
|
||||
|
||||
if (!runtimeDir.endsWith('/')) {
|
||||
runtimeDir += '/';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user