qt5base-lts/tests/auto/widgets/dialogs
Elvis Angelaccio 34f82b8abc Improve mime type filters in QFileDialog
This patch improves the handling of mime type filters in QFileDialog.

The main change is in selectMimeTypeFilter(), which was just falling back
unconditionally on selectNameFilter(). Instead, mime type filters should
have an higher priority than name filters.

This patch also adds a new selectedMimeTypeFilter() method, which is used in the unit test.

Change-Id: Ice8bb08f5ff46e4a942d539f6001424eca878f74
Reviewed-by: David Faure <david.faure@kdab.com>
2017-01-06 16:27:41 +00:00
..
qcolordialog Updated license headers 2016-01-21 18:55:18 +00:00
qdialog QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
qerrormessage Updated license headers 2016-01-21 18:55:18 +00:00
qfiledialog Improve mime type filters in QFileDialog 2017-01-06 16:27:41 +00:00
qfiledialog2 Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-24 10:31:21 +01:00
qfilesystemmodel tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qfontdialog Merge remote-tracking branch 'origin/5.7' into dev 2016-05-23 21:09:46 +02:00
qinputdialog Updated license headers 2016-01-21 18:55:18 +00:00
qmessagebox QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
qprogressdialog Updated license headers 2016-01-21 18:55:18 +00:00
qsidebar Remove the traces of the discontinued android-no-sdk platform 2016-03-30 10:12:34 +00:00
qwizard tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
dialogs.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00