Skip to content

Simplify file filter parsing

Nicolas Fella requested to merge work/nico/file-filter-fix into master

Currently we parse the Qt filter syntax into KDE syntax and then into KFileFilter

Cut out the middle step and directly create KFileFilter objects from the Qt filters

To parse those use the cleanFilterList helper from QPlatformFileDialogHelper

This matches what Qt's GTK file dialog integration does

It has the nice side benefit of making nameless filters work

BUG: 470893

Merge request reports