[Kmymoney-devel] Historic forecast seems to be broken

Alvaro Soliverez asoliverez at gmail.com
Sun Jun 27 15:52:45 CEST 2010


On Sun, Jun 27, 2010 at 10:14 AM, Thomas Baumgart <thb at net-bembel.de> wrote:
> 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.
>
>

No,  KMyMoneyGlobalSettings::forecastMethod() is returning the
outdated value. I tried it before your changes.


More information about the KMyMoney-devel mailing list