Review Request 108922: Fix off-by-one error in RunnerModel

Aleix Pol Gonzalez aleixpol at gmail.com
Fri Feb 15 12:32:04 UTC 2013


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

Ship it!


It seems correct to me. It would be interesting if you could run some interesting session with the ModelTest to catch this kind of issues ASAP, no? :)

- Aleix Pol Gonzalez


On Feb. 12, 2013, 3:10 p.m., Aurélien Gâteau wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108922/
> -----------------------------------------------------------
> 
> (Updated Feb. 12, 2013, 3:10 p.m.)
> 
> 
> Review request for Plasma and Aaron J. Seigo.
> 
> 
> Description
> -------
> 
> Fix off-by-one error in RunnerModel
> 
> The last argument of beginInsertRows() is the row number of the last
> inserted row, not the one for the row after.
> 
> 
> Diffs
> -----
> 
>   plasma/declarativeimports/core/runnermodel.cpp ee1b54d45e02f1db8650219e08f6950d0e732a85 
> 
> Diff: http://git.reviewboard.kde.org/r/108922/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Aurélien Gâteau
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130215/6da08118/attachment.html>


More information about the Plasma-devel mailing list