Review Request: Fix crash in Albums context applet

James Duncan james.t.duncan at gmail.com
Fri Nov 5 19:00:51 CET 2010



> On 2010-11-05 07:20:56, Rick W. Chen wrote:
> > Works well.

I don't have push access, so if someone wouldn't mind doing so in my
stead, that would be great.


- James


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100134/#review295
-----------------------------------------------------------


On 2010-11-04 20:02:05, James Duncan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100134/
> -----------------------------------------------------------
> 
> (Updated 2010-11-04 20:02:05)
> 
> 
> Review request for Amarok.
> 
> 
> Summary
> -------
> 
> This patch fixes a crash in the Albums context applet.  If a recently
> added album (one currently displayed in the Albums applet) is removed
> from the collection, AlbumProxyModel::lessThan will crash asking for
> the last element of an empty QVector.
> 
> In addition, the patch improves the efficiency of the comparator.
> 
> 
> Diffs
> -----
> 
>   src/context/applets/albums/AlbumsModel.cpp 577499b 
>   src/context/applets/albums/AlbumsModel.h b899ddb 
> 
> Diff: http://git.reviewboard.kde.org/r/100134/diff
> 
> 
> Testing
> -------
> 
> Tested adding new albums and removing currently existing albums (both
> those that were currently shown in the applet and ones not shown). No
> crashes yet, and ordering has not been affected.
> 
> 
> Thanks,
> 
> James
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/amarok-devel/attachments/20101105/d271cadd/attachment.htm 


More information about the Amarok-devel mailing list