[Kmymoney-devel] [kmymoney4] [Bug 326739] KMyMoney crashes when attempting on-line price update with suspect source parameters.

Alvaro Soliverez asoliverez at kde.org
Mon Oct 28 11:06:24 UTC 2013


Did the user configure the regional settings for KDE in Windows?

On Mon, Oct 28, 2013 at 8:02 AM, allan <agander93 at gmail.com> wrote:
> https://bugs.kde.org/show_bug.cgi?id=326739
>
> --- Comment #4 from allan <agander93 at gmail.com> ---
> (In reply to comment #3)
>> OK, I see now, the problem is this line [1]. QTextCodec::codecForName is
>> used wihtou checking if a codec is actually returned. This should be changed
>> to
>>
>> QTextCodec * codec = QTextCodec::codecForName(prober.encoding());
>> if (!codec)
>>   codec = QTextCodec::codecForLocale();
>> codec->toUnicode(page);
>>
>> [1]
>> https://projects.kde.org/projects/extragear/office/kmymoney/repository/
>> revisions/4.6/entry/kmymoney/converter/webpricequote.cpp#L138
>
> As this works without apparent problem in Linux, but not on Windows, does this
> suggest that the required codec is not available on Windows for some reason?
>
> There appears to have been no change to this code since pre 4.6, so the user
> can't revert.  Is this a question of waiting for 4.7, or might there be a new
> Windows version earlier?  That said, though, 4.6.3 at least crashes more
> gracefully.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel


More information about the KMyMoney-devel mailing list