Fix build against latest KCalCore master
ClosedPublic

Authored by dvratil on Sep 13 2017, 2:13 PM.

Details

Summary

KCalCore master has been ported to QDateTime, so it's necessary to adapt the code in the
calendar assistant a little.

Since Digikam and KCalCore has disjoint release cycles I made the change conditional to preserve
compatibility with current KDateTime-based KCalCore.

Test Plan

Compiles against both versions.

Diff Detail

Repository
R482 digiKam
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dvratil created this revision.Sep 13 2017, 2:13 PM
sfrei accepted this revision.Sep 13 2017, 2:43 PM
sfrei added a subscriber: sfrei.

Thanks!

This revision is now accepted and ready to land.Sep 13 2017, 2:43 PM
This revision was automatically updated to reflect the committed changes.