[Kmymoney-devel] Historic forecast seems to be broken

Thomas Baumgart thb at net-bembel.de
Sun Jun 27 15:14:08 CEST 2010


Hi,

on Sunday 27 June 2010 Alvaro Soliverez wrote:



> The forecast is working fine, but the settings are not being refreshed.
> If you change the forecast method and restart the application, it
> works correctly.
> 
> For some reason, it is not refreshing the settings after changing the
> settings. I confirmed it adding a few debugs in mymoneyforecast.
> 
> This line returns always the same value until I restart.
> 
> KMyMoneyGlobalSettings::forecastMethod()
> 
> So, what else changed that causes this behaviour?

I think I know what the problem is. The code relies on the fact, that the 
MyMoneyForecast ctor sets the current value for the method. That is what I 
have touched. I scanned for it's usage, but apparently, I did not hit all of 
them.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Faster, better, cheaper - choose two of the above.
 - Old engineering proverb
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100627/1c30aec4/attachment.sig 


More information about the KMyMoney-devel mailing list