QDir::tempPath already has fallback to /tmp

This commit is contained in:
Ilya Fedin 2020-11-04 04:21:42 +04:00 committed by John Preston
parent ede7ad1a4c
commit d9711f8ebd
1 changed files with 0 additions and 4 deletions

View File

@ -701,10 +701,6 @@ QString AppRuntimeDirectory() {
runtimeDir = QDir::tempPath();
}
if (runtimeDir.isEmpty()) {
runtimeDir = qsl("/tmp/");
}
if (!runtimeDir.endsWith('/')) {
runtimeDir += '/';
}