Review Request 129657: Fix assert (in beginRemoveRows) when deselecting an empty child of a selected child in korganizer

Aleix Pol Gonzalez aleixpol at kde.org
Thu Dec 15 23:34:20 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129657/#review101460
-----------------------------------------------------------



+1 looks good.

- Aleix Pol Gonzalez


On Dec. 16, 2016, 12:15 a.m., David Faure wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129657/
> -----------------------------------------------------------
> 
> (Updated Dec. 16, 2016, 12:15 a.m.)
> 
> 
> Review request for KDE Frameworks and Stephen Kelly.
> 
> 
> Repository: kitemmodels
> 
> 
> Description
> -------
> 
> After
>    int proxyEndRemove = proxyStartRemove;
>    proxyEndRemove += rc; was adding 0 (empty root)
> and then --proxyEndRemove; was making us end up with proxyEndRemove < proxyStartRemove.
> 
> 
> Diffs
> -----
> 
>   autotests/kselectionproxymodeltest.cpp 483e7c42dabab6aa560622ff0418ee7f90363e15 
>   src/kselectionproxymodel.cpp 0f57c70f05d4cbde9b14f4257bff1365ef5443f6 
> 
> Diff: https://git.reviewboard.kde.org/r/129657/diff/
> 
> 
> Testing
> -------
> 
> New unittest + unchecking calendar in korganizer no longer asserts.
> 
> 
> Thanks,
> 
> David Faure
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20161215/2cbdad32/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list