qt5base-lts/tests/auto/widgets
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
..
dialogs QFileSystemModel: fix permission mangling 2012-09-26 04:03:41 +02:00
effects Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
graphicsview Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
itemviews Remove duplicate words and punctuation from documentation. 2012-09-26 04:03:20 +02:00
kernel Remove duplicate words and punctuation from documentation. 2012-09-26 04:03:20 +02:00
styles Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
util Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
widgets test: Mark tst_QMdiSubWindow failures as XFAIL 2012-09-25 20:28:06 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00