fix assertion in monitoredItemMoved

Review Request #101973 - Created July 16, 2011 and discarded

Information
Milian Wolff
kdepimlibs
master
250692
Reviewers
kdepimlibs
fixes an assertion in EntityTreeModelPrivate::monitoredItemMoved which I could reproduce everytime kmail2 was started in conjunction with the rest of my kde session. restarting kmail afterwards worked fine though.

I have lots of filters, maybe it's related.

The assertion was in m_childEntities[].takeAt() due to srcRow == -1 because indexOf apparently did not find the given itemId... No idea whats going on and whether it's bad but at least this way it's not crashing anymore.
restarted KDE, no crash anymore.
Torgny Nyblom
Christian Mollekopf
Milian Wolff
Review request changed

Status: Discarded

Change Summary:

seems to be obsolete now
Loading...