Call history: Search into display name and address.
This commit is contained in:
parent
593863b4c2
commit
550295fbe4
1 changed files with 1 additions and 2 deletions
|
|
@ -59,8 +59,7 @@ bool CallHistoryProxy::SortFilterList::filterAcceptsRow(int sourceRow, const QMo
|
|||
QRegularExpression::CaseInsensitiveOption |
|
||||
QRegularExpression::UseUnicodePropertiesOption);
|
||||
auto callLog = getItemAtSource<CallHistoryList, CallHistoryCore>(sourceRow);
|
||||
show =
|
||||
callLog->mIsConference ? callLog->mDisplayName.contains(search) : callLog->mRemoteAddress.contains(search);
|
||||
show = callLog->mDisplayName.contains(search) || callLog->mRemoteAddress.contains(search);
|
||||
}
|
||||
return show;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue