QSortFilterProxyModel filters based on a regex. When the user inserts regex special characters things go bad.
Details
Details
- Reviewers
apol - Group Reviewers
KDE Connect - Commits
- R224:372f23b103e1: [SMS app] Mask regex special characters in search box
Diff Detail
Diff Detail
- Repository
- R224 KDE Connect
- Branch
- nogregex
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 1552 Build 1570: arc lint + arc unit
Comment Actions
How about using
view.model.filterCaseSensitivity = Qt.CaseInsensitive; view.model.setFilterFixedString(filter.text); // is not a property for some reason
smsapp/qml/ConversationList.qml | ||
---|---|---|
71 ↗ | (On Diff #39158) | This can probably be set declaratively. |