Commit ed516693 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Port filtering of groups to QRegularExpression

Use setFilterRegularExpression(QRegularExpression::escape(...))
instead of setFilterFixedString(...). Here the latter didn't cause
problems, but we better get rid of setFilterFixedString() everywhere.

GnuPG-bug-id: 6086
parent 2df6dd40
Pipeline #205695 passed with stage
in 4 minutes and 25 seconds
......@@ -134,7 +134,9 @@ public:
mainLayout->addLayout(groupsLayout, /*stretch=*/ 1);
connect(ui.groupsFilter, &QLineEdit::textChanged, groupsFilterModel, &QSortFilterProxyModel::setFilterFixedString);
connect(ui.groupsFilter, &QLineEdit::textChanged, q, [this](const auto &s) {
connect(ui.groupsList->selectionModel(), &QItemSelectionModel::selectionChanged,
q, [this] () { selectionChanged(); });
connect(ui.groupsList, &QListView::doubleClicked,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment