qt5base-lts/tests/auto/widgets/dialogs
Alexander Volkov 4d73ab73c8 Return a correct filter from QFileDialog::selectedMimeTypeFilter()
QFileDialog::selectedMimeTypeFilter() returns either an empty
filter in the case when a platform file dialog doesn't implement
mime type filters, or initiallySelectedMimeTypeFilter() in the
case of Qt's file dialog. In both cases the result is incorrect.

Make it return a mime type filter corresponding to a selected
name filter. As a result, tst_QFiledialog::setMimeTypeFilters()
has to be fixed: QFileDialog::selectMimeTypeFilter() can't select
a name filter for an invalid mime type, and "application/json"
is not supported by RHEL 6.6, so replace it by "application/pdf".

Change-Id: I58d3be860a9b5e8a72cba86d74b520178115a812
Reviewed-by: David Faure <david.faure@kdab.com>
2018-06-27 12:14:44 +00:00
..
qcolordialog Updated license headers 2016-01-21 18:55:18 +00:00
qdialog Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00
qerrormessage Updated license headers 2016-01-21 18:55:18 +00:00
qfiledialog Return a correct filter from QFileDialog::selectedMimeTypeFilter() 2018-06-27 12:14:44 +00:00
qfiledialog2 tests/auto/widgets/dialogs: Avoid unconditional qWait()s 2018-05-14 10:39:00 +00:00
qfilesystemmodel tests/auto/widgets/dialogs: Avoid unconditional qWait()s 2018-05-14 10:39:00 +00:00
qfontdialog qtbase: Remove BLACKLIST files which are no longer active 2018-02-12 17:40:12 +00:00
qinputdialog Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qmessagebox Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qprogressdialog tests/auto/widgets/dialogs: Avoid unconditional qWait()s 2018-05-14 10:39:00 +00:00
qsidebar Support for Q_OS_ANDROID_EMBEDDED and android-embedded build flags 2018-01-20 18:16:59 +00:00
qwizard QWizard: Do not remove the Next button's shortcut 2017-10-24 16:43:52 +00:00
dialogs.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00