Revision faea6a3...
Go back to digest for 26th May 2013Bug Fixes in KDE-PIM
Jan Kundrát committed changes in [trojita] /Imap/Model:
threading: delay tree pruning until after the event loop is reached again
This is not really a proper fix (servers who don't do VANISHED will still make
the client suffer), but it's a step in the right direction, and also something
much, much more effective than trying a special-case branch for removal of leaf
nodes.
The idea here is to cut the total amount of times pruneTree()/layoutChanged() is
called in total. I'm worried about using non-zero delay due to the unit tests...
refs #642
File Changes
Modified 2 files
- /Imap/Model
- src/ThreadingMsgListModel.cpp
- src/ThreadingMsgListModel.h
2 files changed in total