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 1560 Build 1578: 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 | This can probably be set declaratively. |