merge SVN commit 1104329 by smartins:
We have no guarantee that mAgendaViews isn't empty here, because a view could be removed right before this slot is called.
Fixes a crash found while trying to reproduce kolab/issue3750.
svn path=/tags/kdepim/enterprise35.0.20100312.1102367/kdepim/; revision=1104331