D27826: Update visibility cache when notebook visibility is changed
Damien Caliste
noreply at phabricator.kde.org
Wed Mar 4 10:51:31 GMT 2020
dcaliste created this revision.
dcaliste added reviewers: vkrause, dvratil, kde-pim, winterz.
Herald added a project: KDE PIM.
dcaliste requested review of this revision.
REVISION SUMMARY
incidence visibility is cached in mIncidenceVisibility
hash array. But this array is not updated when a notebook
visibility is changed when calling updateNotebook().
TEST PLAN
add a test in testmemorycalendar.cpp to demonstrate
the issue and the fix.
REPOSITORY
R172 KCalendar Core
BRANCH
visibility
REVISION DETAIL
https://phabricator.kde.org/D27826
AFFECTED FILES
autotests/testmemorycalendar.cpp
autotests/testmemorycalendar.h
src/calendar.cpp
src/calendar.h
To: dcaliste, vkrause, dvratil, kde-pim, winterz
Cc: 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/20200304/89a1f3be/attachment.html>
More information about the kde-pim
mailing list