Fix assert (in beginRemoveRows) when deselecting an empty child of a selected child in korganizer

Review Request #129657 - Created Dec. 15, 2016 and submitted

Information
David Faure
kitemmodels
master
Reviewers
kdeframeworks
skelly
After
   int proxyEndRemove = proxyStartRemove;
   proxyEndRemove += rc; was adding 0 (empty root)
and then --proxyEndRemove; was making us end up with proxyEndRemove < proxyStartRemove.

New unittest + unchecking calendar in korganizer no longer asserts.

Aleix Pol Gonzalez
Stephen Kelly
Stephen Kelly
David Faure
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 24db696bab2d07388fe124244ce5226f787fd79e by David Faure to branch master.
Loading...