[Kmymoney-devel] Review Request: Patch which highlights the online statement balance if different from current file balance

Marko Käning mk-lists at email.de
Sun Nov 27 11:19:46 UTC 2011



> On Nov. 27, 2011, 7:21 a.m., Thomas Baumgart wrote:
> > kmymoney/widgets/register.cpp, line 61
> > <http://git.reviewboard.kde.org/r/103264/diff/1/?file=42243#file42243line61>
> >
> >     Although in general I agree, the detection logic should not be placed inside the MyMoneyAccount object. It has no reference of the MyMoneyFile object (and should not get it). Something like a "MyMoneyFile::checkMatchingOnlineBalance(const MyMoneyAccount& account) const" would be much better.

OK, I'll have a look into the latter approach.


> On Nov. 27, 2011, 7:21 a.m., Thomas Baumgart wrote:
> > kmymoney/widgets/register.cpp, line 2023
> > <http://git.reviewboard.kde.org/r/103264/diff/1/?file=42243#file42243line2023>
> >
> >     Shouldn't be a problem here, because it is checked that lastImportedTransactionDate is set which is only done when you receive some sort of online balance. I am not sure how this behaves if you remove the mapping though and still have a lastImportedTransactionDate. Should not interfere, because the balance for that date should still be correct.

I'll test what happens when I remove the mapping. If that's fine, I guess I can mark this specific issue as fixed, or shall I drop it (in case there are no changes to the code needed)?


- Marko


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103264/#review8502
-----------------------------------------------------------


On Nov. 27, 2011, 1:16 a.m., Marko Käning wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103264/
> -----------------------------------------------------------
> 
> (Updated Nov. 27, 2011, 1:16 a.m.)
> 
> 
> Review request for KMymoney.
> 
> 
> Description
> -------
> 
> Highlighting of online statement balance with red background and
> highlighted text if file balance and online balance are different.
> (This patch was put together from Thomas' and Cristian's advice on ML)
> 
> 
> Diffs
> -----
> 
>   kmymoney/widgets/register.h 8cd1a328fb690fad015a0de5943c984b7e7deca8 
>   kmymoney/widgets/register.cpp 39d991c30d531154fd2651a52ab2b6a199b92b32 
> 
> Diff: http://git.reviewboard.kde.org/r/103264/diff/diff
> 
> 
> Testing
> -------
> 
> Yes
> 
> 
> Screenshots
> -----------
> 
> small snapshot showing the highlighted group marker
>   http://git.reviewboard.kde.org/r/103264/s/345/
> 
> 
> Thanks,
> 
> Marko Käning
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20111127/d45aa541/attachment-0001.html>


More information about the KMyMoney-devel mailing list