refactor: replace QRegExp with QRegularExpression
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
984692dc62
commit
ff2cd50bfa
17 changed files with 48 additions and 53 deletions
|
@ -66,7 +66,7 @@ public:
|
|||
protected:
|
||||
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
|
||||
{
|
||||
const QString pattern = filterRegExp().pattern();
|
||||
const QString pattern = filterRegularExpression().pattern();
|
||||
const auto model = static_cast<PageModel *>(sourceModel());
|
||||
const auto page = model->pages().at(sourceRow);
|
||||
if (!page->shouldDisplay())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue