D17467: digital-clock: Show events on expanding applet

Marco Martin noreply at phabricator.kde.org
Tue Dec 11 14:27:12 GMT 2018


mart added inline comments.

INLINE COMMENTS

> CalendarView.qml:60
> +                // would always be empty.
> +                holidaysList.model = monthView.daysModel.eventsForDate(monthView.currentDate);
> +                hasExpanded = true;

instead of storing a local hasExpanded, could you just check for holidaysList.model not being null?

REPOSITORY
  R120 Plasma Workspace

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

To: mbehrendt, #plasma, plasma-devel
Cc: mart, broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181211/27377437/attachment-0001.html>


More information about the Plasma-devel mailing list