KOrganizer: CollectionView only non-Virtual Collections with Events can be set as default
ClosedPublic

Authored by winterz on Mar 7 2020, 9:34 PM.

Details

Summary

In the collectionView, don't allow collections that don't support the event content type to be set as the default calendar.
virtual calendars are not allowed either (although virtual calendars should always be read-only.. but, just in case)

Test Plan

my Kolab Tasks folder which has the todo content type only, is now unsettable as the default calendar.

Diff Detail

Repository
R210 KOrganizer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
winterz created this revision.Mar 7 2020, 9:34 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptMar 7 2020, 9:34 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
winterz requested review of this revision.Mar 7 2020, 9:34 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 11 2020, 9:37 PM
This revision was automatically updated to reflect the committed changes.