Commit 73ad2be3 authored by Laurent Montel's avatar Laurent Montel 😁

Use isEmpty

parent d9d7a854
......@@ -52,5 +52,5 @@ bool InfoKcmProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourc
}
}
return ((indexItem->keywords().filter(filterRegExp()).count() > 0));
return !indexItem->keywords().filter(filterRegExp()).isEmpty();
}
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