Fix build....
This commit is contained in:
parent
2d571cc5d0
commit
c220a29b1a
@ -77,7 +77,11 @@ QModelIndexList FeedsProxyModel::match(const QModelIndex& start, int role, const
|
||||
QString item_text = item_value.toString();
|
||||
|
||||
switch (match_type) {
|
||||
#if QT_VERSION >= 0x050F00 // Qt >= 5.15.0
|
||||
case Qt::MatchRegularExpression:
|
||||
#else
|
||||
case Qt::MatchRegExp:
|
||||
#endif
|
||||
if (QRegularExpression(entered_text,
|
||||
QRegularExpression::PatternOption::CaseInsensitiveOption |
|
||||
QRegularExpression::PatternOption::UseUnicodePropertiesOption).match(item_text).hasMatch()) {
|
||||
|
@ -113,7 +113,11 @@ QModelIndexList MessagesProxyModel::match(const QModelIndex& start, int role,
|
||||
QString item_text = item_value.toString();
|
||||
|
||||
switch (match_type) {
|
||||
#if QT_VERSION >= 0x050F00 // Qt >= 5.15.0
|
||||
case Qt::MatchRegularExpression:
|
||||
#else
|
||||
case Qt::MatchRegExp:
|
||||
#endif
|
||||
if (QRegularExpression(entered_text,
|
||||
QRegularExpression::PatternOption::CaseInsensitiveOption |
|
||||
QRegularExpression::PatternOption::UseUnicodePropertiesOption).match(item_text).hasMatch()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user