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:
parent
71728bb3fe
commit
010a0cc2a7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user