mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +02:00
QDir::tempPath already has fallback to /tmp
This commit is contained in:
parent
ede7ad1a4c
commit
d9711f8ebd
1 changed files with 0 additions and 4 deletions
|
@ -701,10 +701,6 @@ QString AppRuntimeDirectory() {
|
|||
runtimeDir = QDir::tempPath();
|
||||
}
|
||||
|
||||
if (runtimeDir.isEmpty()) {
|
||||
runtimeDir = qsl("/tmp/");
|
||||
}
|
||||
|
||||
if (!runtimeDir.endsWith('/')) {
|
||||
runtimeDir += '/';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue