Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit e051c297 authored by Laurent Montel's avatar Laurent Montel 😁

Return an ItemFlags not nullptr

parent 297322d8
......@@ -140,7 +140,7 @@ Qt::ItemFlags ContactsFilterProxyModel::flags(const QModelIndex &index) const
if (!index.isValid()) {
// Don't crash
return nullptr;
return Qt::NoItemFlags;
const Akonadi::Collection collection =<Akonadi::Collection>();
if (collection.isValid()) {
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