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

Use auto vs auto * where it's possible

parent 5a290f2d
Pipeline #49683 skipped
......@@ -148,7 +148,7 @@ void SpecialMailCollections::verifyI18nDefaultCollection(Type type)
if (collection.hasAttribute<Akonadi::EntityDisplayAttribute>()) {
if (collection.attribute<Akonadi::EntityDisplayAttribute>()->displayName() != defaultI18n) {
collection.attribute<Akonadi::EntityDisplayAttribute>()->setDisplayName(defaultI18n);
auto *job = new Akonadi::CollectionModifyJob(collection, this);
auto job = new Akonadi::CollectionModifyJob(collection, this);
connect(job, &Akonadi::CollectionModifyJob::result, this, &SpecialMailCollections::slotCollectionModified);
}
}
......
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