qt5base-lts/tests/auto/widgets
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
..
dialogs Return a correct filter from QFileDialog::selectedMimeTypeFilter() 2018-06-27 12:14:44 +00:00
effects tests/auto/widgets/{effects,styles}: Avoid unconditional qWait()s 2018-04-25 05:47:01 +00:00
graphicsview Make sure we can build with -no-feature-draganddrop 2018-05-29 18:31:35 +00:00
itemviews QHeaderView: Send the StatusTip events to itself if there is no parent 2018-06-14 04:21:35 +00:00
kernel Make tests compile for Android 2018-06-25 08:01:19 +00:00
styles tests/auto/widgets/{effects,styles}: Avoid unconditional qWait()s 2018-04-25 05:47:01 +00:00
util tests/auto/widgets/util: Avoid unconditional qWait()s 2018-04-13 12:32:52 +00:00
widgets Android: Blacklist various cases in tst_QLineEdit 2018-06-26 08:06:10 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00