parent
67a5e3f37e
commit
55f8294a38
@ -79,7 +79,7 @@ void PlaylistFilter::sort(int column, Qt::SortOrder order) {
|
|||||||
bool PlaylistFilter::filterAcceptsRow(int row, const QModelIndex &parent) const {
|
bool PlaylistFilter::filterAcceptsRow(int row, const QModelIndex &parent) const {
|
||||||
|
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||||
QString filter = filterRegularExpression().pattern().replace("\\ ", " ");
|
QString filter = filterRegularExpression().pattern().remove('\\');
|
||||||
#else
|
#else
|
||||||
QString filter = filterRegExp().pattern();
|
QString filter = filterRegExp().pattern();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user