diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2025-05-28 22:26:46 -0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-06-03 11:54:38 +0000 |
| commit | ae973dc2de5ce3b5a7d18018691479013d91053d (patch) | |
| tree | 862899c901da95127eeb49e02917ec7955460268 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | 7bd7df5aa170c240061144a9210a13b62949935c (diff) | |
QFileSystemEngine::tempPath: simplify handling of fallbacks
If the environment variable is empty, we have a couple of fallbacks, one
for Apple Darwin systems and one for everyone else. A non-absolute path
in the environment or the Apple API makes no sense, but this code
retains this defensive measure for them; for _PATH_TMP from <paths.h>,
we assume it is absolute.
Pick-to: 6.10 6.9
Change-Id: I3e486f73276a3ae288d1fffdbfe20a74271f73f2
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
