qt5base-lts/src/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
..
accessible Use placeholder text for accessible description of QLineEdit 2018-02-05 15:41:29 +00:00
dialogs Return a correct filter from QFileDialog::selectedMimeTypeFilter() 2018-06-27 12:14:44 +00:00
doc Doc: Add doc to Graphics View Flow Layout example 2018-03-13 12:07:55 +00:00
effects Merge remote-tracking branch 'origin/5.10' into dev 2017-10-24 13:40:55 +02:00
graphicsview Don't set the wasDeleted flag in ~QWidget 2018-06-07 09:41:24 +00:00
itemviews QHeaderView: Send the StatusTip events to itself if there is no parent 2018-06-14 04:21:35 +00:00
kernel Don't set the wasDeleted flag in ~QWidget 2018-06-07 09:41:24 +00:00
statemachine Make sure we can build with -no-feature-draganddrop 2018-05-29 18:31:35 +00:00
styles QFusionStyle: Fix width of editable combo box 2018-05-15 06:07:40 +00:00
util Fix building with -no-feature-dirmodel -no-feature-filesystemmodel 2018-06-04 09:19:02 +00:00
widgets Fix interaction with the menu bar on touchscreens 2018-06-25 16:45:07 +00:00
configure.json Merge remote-tracking branch 'origin/5.9' into 5.10 2017-10-04 13:41:04 +02:00
configure.pri Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00
Qt5WidgetsConfigExtras.cmake.in
Qt5WidgetsMacros.cmake CMake: Set SKIP_AUTOMOC/AUTOUIC where needed 2017-11-22 13:51:30 +00:00
QtWidgets.dynlist
widgets.pro Merge remote-tracking branch 'origin/5.10' into 5.11 2018-02-15 10:14:11 +01:00