In some case, QFile::copy() is failed but it's error() is NoError.
ex.
- If destination directory is read-only.
- If destination directory doesn't exist.
- If destination file-system doesn't allow too long file name.
Attached test program can reproduce first 2 cases.
| For Gerrit Dashboard: QTBUG-11982 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 9056,1 | Fix QFile::copy() returning false but error() being NoError | master | qt/qtbase | Status: MERGED | +2 | 0 |