Skip to content
Commit c33458d3 authored by Michael Weghorn's avatar Michael Weghorn Committed by Jan Grulich
Browse files

FileChooser: Properly preselect MIME filter passed as "current_filter"

Other than the 'KFileWidget::setFilter' case,
calling 'KFileWidget::setMimeFilter' does not select the first filter
in the list, but takes an explicit (optional) parameter which of the
filters to preselect, "otherwise, a first item showing all the mimetypes
will be created". [1]

[1] https://api.kde.org/frameworks/kio/html/classKFileWidget.html#acdb884df2e08aa11c92adc1f96b6b2c1
parent 0b4dacf3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment