https://bugs.kde.org/show_bug.cgi?id=470893

Nicolas Fella <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-integration/-/com
                   |                            |mit/8a9b3a5d31777920bf551da
                   |                            |1bae3cf01167788ff
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Nicolas Fella <[email protected]> ---
Git commit 8a9b3a5d31777920bf551da1bae3cf01167788ff by Nicolas Fella.
Committed on 21/12/2023 at 17:22.
Pushed by nicolasfella into branch 'master'.

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

M  +2    -1    qt6/src/platformtheme/kdeplatformfiledialogbase_p.h
M  +23   -36   qt6/src/platformtheme/kdeplatformfiledialoghelper.cpp
M  +4    -1    qt6/src/platformtheme/kdeplatformfiledialoghelper.h
M  +1    -1    qt6/src/platformtheme/kdirselectdialog.cpp
M  +1    -1    qt6/src/platformtheme/kdirselectdialog_p.h

https://invent.kde.org/plasma/plasma-integration/-/commit/8a9b3a5d31777920bf551da1bae3cf01167788ff

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to