Diffusion Krita 8b436ffc8ab1

Fix checking if swap location is set to a writable location

Authored by dkazakov on Aug 21 2019, 4:12 PM.

Description

Fix checking if swap location is set to a writable location

QFileInfo::isWritable() doesn't work on NTFS by default, so we should
just try to create a test fiel to check that.

BUG:411129
BUG:411081

Details

Committed
dkazakovSep 13 2019, 8:55 AM
Parents
R37:57c8db26dc94: Fix random crash when swap-file location has not got enough disk space
Branches
Unknown
Tags
Unknown