mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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();
|
runtimeDir = QDir::tempPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (runtimeDir.isEmpty()) {
|
|
||||||
runtimeDir = qsl("/tmp/");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!runtimeDir.endsWith('/')) {
|
if (!runtimeDir.endsWith('/')) {
|
||||||
runtimeDir += '/';
|
runtimeDir += '/';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue