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
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
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 | ||
---|---|---|
72 | This can probably be set declaratively. |