qt5base-lts/tests/auto/widgets/dialogs
Marc Mutz 0842d32441 QFileSystemModel: fix permission mangling
The old code masked out write flags before returning permissions
from permissions() or data(FilePermissions) in order to force
QFileDialog to disable the rename and delete actions. This was to
fix Task 143519, but introduced QTBUG-20503.

Instead, revert to the pre-143519-bugfix code and do the necessary
check in QFileDialog directly.

Also add a testcase for 143519.

Reported-by: Gilles Pascual
Task-number: QTBUG-20503
Task-number: 143519

Change-Id: I140109341c0ed40722e3aac4327c2a740fb014c2
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
2012-09-26 04:03:41 +02:00
..
qabstractprintdialog Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qcolordialog Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qdialog Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qerrormessage Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qfiledialog Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qfiledialog2 QFileSystemModel: fix permission mangling 2012-09-26 04:03:41 +02:00
qfilesystemmodel QFileSystemModel: fix permission mangling 2012-09-26 04:03:41 +02:00
qfontdialog Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qinputdialog Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qmessagebox Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qprogressdialog Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qsidebar Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwizard Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
dialogs.pro Tests: Fix printsupport profiles. 2012-07-12 11:15:58 +02:00