Skip to content
Verified Commit 794bf3bc authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Add Akonadi::CalendarUtils::displayName overload that takes ETM instead of ETMCalendar

The ETMCalendar version was relying on ETM under the hood anyway, the
new overload allows to resolve calendar name from Collection if you only
have ETM pointer at hand, not the entire ETMCalendar.

There's an additional overload that only takes the Collection, which is
to be used when the caller doesn't have a valid pointer to ETMCalendar
or ETM, since passing nullptr as the first argument would be ambiguous,
although as far as I could find, such only call exists in the
SingleCollectionCalendar class.
parent 13400d7a
Pipeline #435685 passed with stage
in 58 seconds
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