qt5base-lts/tests/auto
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
..
cmake Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
compilerwarnings/data Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
concurrent Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
corelib Remove duplicate words and punctuation from documentation. 2012-09-26 04:03:20 +02:00
dbus Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
gui Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
opengl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
other Remove duplicate words and punctuation from documentation. 2012-09-26 04:03:20 +02:00
printsupport Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
shared Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
sql Remove duplicate words and punctuation from documentation. 2012-09-26 04:03:20 +02:00
testlib Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
tools Test case for moc handling defines 2012-09-25 00:08:16 +02:00
widgets QFileSystemModel: fix permission mangling 2012-09-26 04:03:41 +02:00
xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
auto.pro Test: Redo remove QSKIP from printsupport tests 2012-09-13 19:33:08 +02:00
network-settings.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
platformquirks.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test.pl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00