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

--- Comment #4 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
Git commit 6e945ed1dc01ffbaf30455341cff0ba945877255 by Friedrich W. H.
Kossebau.
Committed on 23/06/2023 at 14:04.
Pushed by kossebau into branch 'kf5'.

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 369542

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

https://invent.kde.org/frameworks/kio/-/commit/6e945ed1dc01ffbaf30455341cff0ba945877255

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

Reply via email to