mwolff created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY This feature already exists in QFileDialog, but is so far missing from KCompletion. This in turn makes KUrlRequester's mimetype filter look broken, as it "only" works for the dialog but not the lineedit! Setting a mimetype filter list will exclude any files with a mime- type name that is not contained in the filter list. Note that directories are never matched against the mimetype filter. With this patch applied, the filter is also properly applied via KCompletion to the lineedit of a KUrlRequester. REPOSITORY R241 KIO BRANCH master REVISION DETAIL https://phabricator.kde.org/D7527 AFFECTED FILES autotests/kurlcompletiontest.cpp src/widgets/kurlcompletion.cpp src/widgets/kurlcompletion.h src/widgets/kurlrequester.cpp tests/kurlrequestertest_gui.cpp To: mwolff, dfaure Cc: #frameworks