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

--- Comment #8 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
Git commit a7e865aa41acdb83dd625c68dd8f0d16e7f6dc0d by Friedrich W. H.
Kossebau.
Committed on 23/06/2023 at 14:26.
Pushed by kossebau into branch 'master'.

KUrlRequester::setFilter: note special filter syntax, allow unnamed filters

The API dox referred to QFileDialog::setNameFilters for the syntax to use
which is "Comment (file pattern)". The internal logic though expects
the old KDE style syntax "file pattern|Comment".

For more compatibility with Qt also allow name/comment-less filters by
handling of non-existing "|" hit in the filter parsing.
Related: bug 464350
(cherry picked from commit 6e945ed1dc01ffbaf30455341cff0ba945877255)

M  +6    -4    src/widgets/kurlrequester.cpp
M  +8    -2    src/widgets/kurlrequester.h

https://invent.kde.org/frameworks/kio/-/commit/a7e865aa41acdb83dd625c68dd8f0d16e7f6dc0d

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

Reply via email to