<table><tr><td style="">mwolff created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7527" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This feature already exists in QFileDialog, but is so far missing<br />
from KCompletion. This in turn makes KUrlRequester's mimetype filter<br />
look broken, as it "only" works for the dialog but not the lineedit!</p>
<p>Setting a mimetype filter list will exclude any files with a mime-<br />
type name that is not contained in the filter list. Note that<br />
directories are never matched against the mimetype filter.</p>
<p>With this patch applied, the filter is also properly applied via<br />
KCompletion to the lineedit of a KUrlRequester.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7527" rel="noreferrer">https://phabricator.kde.org/D7527</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/kurlcompletiontest.cpp<br />
src/widgets/kurlcompletion.cpp<br />
src/widgets/kurlcompletion.h<br />
src/widgets/kurlrequester.cpp<br />
tests/kurlrequestertest_gui.cpp</div></div></div><br /><div><strong>To: </strong>mwolff, dfaure<br /><strong>Cc: </strong>Frameworks<br /></div>