summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip
diff options
context:
space:
mode:
authorFrerich Raabe <raabe@froglogic.com>2016-06-02 11:40:47 +0200
committerKatja Marttila <katja.marttila@qt.io>2016-06-15 08:54:46 +0000
commitb4a1a89e306367feaec56ce9902d15234ece5f84 (patch)
tree5807e51d2b77c4df676136444726f2a003bd3c6a /src/libs/7zip
parentf11fce311bb954457da1641ccbc6684e7cdd3418 (diff)
Store lock files in temporary directory
The directory in which the application is stored may not be writable for the current user, e.g. if the installer is stored on a read-only network drive, or (common case on OS X) if the installer bundle is started from a read-only .dmg image. This fixes warnings in the verbose output (especially noticeable during unattended installations) like: [0] Warning: Cannot create lock file "/Volumes/froglogic Squish/Install Squish.app/Contents/MacOS/Squish1234865.lock": Read-only file system The patch is defensive in that it just uses QDir::tempPath() instead of going for QTemporaryFile to avoid having to worry about auto-delete semantics. Change-Id: Iee2409dd6f884c4fe234057b2926eee82127f985 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/libs/7zip')
0 files changed, 0 insertions, 0 deletions