D27485: IncidenceEditor: fallback to default collection (calendar)

Laurent Montel noreply at phabricator.kde.org
Wed Feb 19 09:22:32 GMT 2020


mlaurent requested changes to this revision.
mlaurent added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> incidencedialog.cpp:790
> +        // fallback to default collection
> +        const qint64 defColId = CalendarSupport::KCalPrefs::instance()->defaultCalendarId();
> +        const Akonadi::Collection defCol(defColId);

it seems to be 2 same code.
Please create a methods for removing this duplicate code.
Thanjks

REVISION DETAIL
  https://phabricator.kde.org/D27485

To: winterz, mlaurent, dvratil
Cc: kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200219/996b0040/attachment-0001.html>


More information about the kde-pim mailing list