summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/psql/qsql_psql.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2015-07-14 09:29:58 +0200
committerFriedemann Kleint <[email protected]>2015-07-17 11:06:28 +0000
commit26bcc0565f49c731a4f288f93f04056ca20136a5 (patch)
tree72081d0d8ed73f536a249adca5a92d55be6b982d /src/sql/drivers/psql/qsql_psql.cpp
parentd6553d2cd8a2bd84520363ee0c2b9c5c803b5543 (diff)
QDir::removeRecursively(): Retry file deletion with write permission set.
On Windows, having read-only files in a directory can cause removal to fail. When file deletion fails, check on the permissions, set write permissions and retry. Split apart code paths by OS in tst_QDir::removeRecursivelyFailure(); deletion of the read-only directory on UNIX should still fail. Change-Id: I36e54be5229a7b552e90fd5f42722b868fa0b6ee Reviewed-by: David Faure <[email protected]>
Diffstat (limited to 'src/sql/drivers/psql/qsql_psql.cpp')
0 files changed, 0 insertions, 0 deletions