Port to KF6 KFileWidget::setFilters(QList<KFileFilter>)
Replaced old KFileWidget::setFilter(QString)
Stump branch done in place of old commit. Had created diff against HEAD of kf6 branch, stashed, then amended the old commit. So should be no conflicts during rebasing.
The old commit was broken, seems to not have got the gist of the change and instead only created a single filter, also with a list of actually broken patterns. Reworked (and clang-formatted) commit results in filter options as in the KF5 version.
Edited by Friedrich W. H. Kossebau