diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-12-06 13:24:58 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-12-06 14:00:18 (GMT) |
commit | 5bdc4ec60655aba2972f0e6cb2b09ee5f012690b (patch) | |
tree | 1a9ab18b8c9291e6cdc13361abf5f81e5ee97ae2 /demos/pathstroke/pathstroke.pro | |
parent | fb43ea28e2712073de06644d78ed5a97a40f016b (diff) | |
download | Qt-5bdc4ec60655aba2972f0e6cb2b09ee5f012690b.zip Qt-5bdc4ec60655aba2972f0e6cb2b09ee5f012690b.tar.gz Qt-5bdc4ec60655aba2972f0e6cb2b09ee5f012690b.tar.bz2 |
Fix tst_QFileInfo::canonicalFilePath failure on Windows
When the test application is running without administrative privilages,
the CreateSymbolicLink() can incorrectly return success. To handle this
we need to check whether GetLastError() returns ERROR_PRIVILEGE_NOT_HELD
or not.
Reviewed-by: Joao
Diffstat (limited to 'demos/pathstroke/pathstroke.pro')
0 files changed, 0 insertions, 0 deletions