Remove escape characters from playlist filter string

Fixes #728
This commit is contained in:
Jonas Kvinge 2021-06-25 12:00:16 +02:00
parent 67a5e3f37e
commit 55f8294a38

View File

@ -79,7 +79,7 @@ void PlaylistFilter::sort(int column, Qt::SortOrder order) {
bool PlaylistFilter::filterAcceptsRow(int row, const QModelIndex &parent) const {
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
QString filter = filterRegularExpression().pattern().replace("\\ ", " ");
QString filter = filterRegularExpression().pattern().remove('\\');
#else
QString filter = filterRegExp().pattern();
#endif