summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNathan Collins <nathan.collins@kdab.com>2018-01-29 14:37:57 +0000
committerNathan Collins <nathan.collins@kdab.com>2018-02-01 15:33:35 +0000
commit9b2913377807b3dae107befeec0bc488f4a2cbad (patch)
tree8479ebf424108585f1c8b0fcdd41fdbaba26710c /tests
parent4cd90a3579986ae7441c3e982a5f34cdfd92c152 (diff)
Fix QFileDialog::defaultSuffix on macOS
Don't prepend the default suffix to the NSSavePanel allowedFileTypes. "If no extension is given by the user, the first item in the allowedFileTypes array will be used as the extension for the save panel." The user expects to get the suffix displayed to them in the drop down filter, not the default suffix set by the developer. Apply the default suffix if neither the user or the NSSavePanel provide a suffix. Task-number: QTBUG-66066 Change-Id: I64093b9f3178bd2377a7b65d6f23aed6214a4119 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions