Commit 58029447 authored by David Jarvie's avatar David Jarvie
Browse files

Fix build

parent b09e095e
Pipeline #34953 passed with stage
in 11 minutes and 17 seconds
...@@ -951,8 +951,8 @@ QModelIndex AkonadiDataModel::resourceIndex(Akonadi::Collection::Id id) const ...@@ -951,8 +951,8 @@ QModelIndex AkonadiDataModel::resourceIndex(Akonadi::Collection::Id id) const
*/ */
Collection* AkonadiDataModel::collection(Collection::Id id) const Collection* AkonadiDataModel::collection(Collection::Id id) const
{ {
auto it = mResources.constFind(id); auto it = mResources.find(id);
if (it != mResources.constEnd()) if (it != mResources.end())
{ {
Collection& c = AkonadiResource::collection(it.value()); Collection& c = AkonadiResource::collection(it.value());
if (c.isValid()) if (c.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