[kmymoney] [Bug 491828] Currency settings show incorrect
Thomas Baumgart
bugzilla_noreply at kde.org
Tue Aug 20 16:48:34 BST 2024
https://bugs.kde.org/show_bug.cgi?id=491828
Thomas Baumgart <thb at net-bembel.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit| |https://invent.kde.org/offi
| |ce/kmymoney/-/commit/2b8025
| |94c5ecb94f75f472c11ebdd4a52
| |0eb8984
Status|ASSIGNED |RESOLVED
Version Fixed In| |5.2
Resolution|--- |FIXED
--- Comment #12 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit 2b802594c5ecb94f75f472c11ebdd4a520eb8984 by Thomas Baumgart.
Committed on 20/08/2024 at 15:47.
Pushed by tbaumgart into branch 'master'.
Improve detection of currency formatting
QLocale::toCurrencyString() returns different strings on Windows and
Linux when using a value without fraction (e.g. 100). On Linux the
output in locale de_DE was "100 €" and the same code on Windows returned
"100,00 €". That caused the existing implementation of the format
detection to fail.
Changing the test value to 123.45 and enhancing the regex to extract the
parts solves the issue.
FIXED-IN: 5.2
M +4 -3 kmymoney/mymoney/mymoneymoney.cpp
https://invent.kde.org/office/kmymoney/-/commit/2b802594c5ecb94f75f472c11ebdd4a520eb8984
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list