[Kde-pim] [patch] KMail: kmheaders: avoid index out of bound causing crash

Allen Winter winter at kde.org
Sat Mar 29 16:24:31 GMT 2008


On Friday 28 March 2008 16:16:14 Jarosław Staniek wrote:
> Allen Winter said the following, On 2008-03-28 20:57:
> > On Friday 28 March 2008 14:45:30 Jarosław Staniek wrote:
> >> for review - the crash happens sometimes when I switch between folders
> >
> > The patch looks fine.
> > Of course, I'm left to wonder how the index 'i' can go out of bounds.
>
> Apparently itemAt( QPoint( 1, 1 ) ) returned 0 in
> KMHeaders::topItemIndex(). The area of the list view was somewhat scrolled
> down or so...

ok then
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list