1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-17 02:59:03 +01:00

Fix playlist filter with Qt 6

This commit is contained in:
Jonas Kvinge 2021-01-20 20:18:29 +01:00
parent 71728bb3fe
commit 010a0cc2a7

View File

@ -80,7 +80,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();
QString filter = filterRegularExpression().pattern().replace("\\ ", " ");
#else
QString filter = filterRegExp().pattern();
#endif