From 88e092ae02bbc1f0aaecb40e5ab49e4540d6575a Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 23 Oct 2024 15:34:27 +0200 Subject: [PATCH] Fixup c39d5b76: the wrong branch of #if was retained. --- src/frontends/qt/LayoutBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt/LayoutBox.cpp b/src/frontends/qt/LayoutBox.cpp index 70d5fd6ad9..444109260c 100644 --- a/src/frontends/qt/LayoutBox.cpp +++ b/src/frontends/qt/LayoutBox.cpp @@ -320,7 +320,7 @@ void LayoutBox::Private::setFilter(QString const & s) lastSel_ = filterModel_->mapToSource(filterModel_->index(sel, 0)).row(); filter_ = s; - filterModel_->setFilterRegExp(charFilterRegExp(filter_)); + filterModel_->setFilterRegularExpression(charFilterRegExp(filter_)); countCategories(); // restore old selection