Commit ac142bfc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt to new api

parent 21e4dff2
......@@ -4429,7 +4429,7 @@ void KMMainWidget::slotRequestFullSearchFromQuickSearch()
searchStringVal = QByteArrayLiteral("<message>");
}
pattern.append(SearchRule::createInstance(searchStringVal, SearchRule::FuncContains, searchString));
const QList<MessageStatus> statusList = mMessagePane->currentFilterStatus();
const QVector<MessageStatus> statusList = mMessagePane->currentFilterStatus();
for (MessageStatus status : statusList) {
if (status.hasAttachment()) {
pattern.append(SearchRule::createInstance(searchStringVal, SearchRule::FuncHasAttachment, searchString));
......
Markdown is supported
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