Calculate cleared balance in core

Review Request #118107 - Created May 12, 2014 and submitted

Alvaro Soliverez
It calculates cleared balance for an account in MyMoneyFile, instead of doing it in the ledger view (kgloballedgerview.cpp)

I'm posting it here because I'm a bit concerned on the performance it may have for everyday use.
I'm keen on optimizing, but this kind of code should be removed from the views in the long-term.
I tested with a small file. It works ok. I still have to add a unit test for it.
Marko Käning
Marko Käning
Commit Hook
This review has been submitted with commit 6307b3034c86c21f18ecf03f9b7aa97037456b29 by Alvaro Soliverez to branch master.
Alvaro Soliverez
Review request changed

Status: Closed (submitted)