Skip to content
Commit 8a9b3a5d authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Simplify file filter parsing

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
parent a0f82934
Pipeline #563239 passed with stage
in 1 minute and 17 seconds
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