Skip to content
Commit a7e865aa authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

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.

CCBUG: 464350
CCBUG: 369542
(cherry picked from commit 6e945ed1)
parent 4e903bc8
Pipeline #423675 passed with stage
in 36 minutes and 38 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