https://bugs.kde.org/show_bug.cgi?id=488083
hanyo...@protonmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi |t/c7421fcd8823c595f047fab64 |t/fb7f8557cc14a190f0ef5f8dd |c14d075db008b2b |0c166b224446cc3 --- Comment #8 from hanyo...@protonmail.com --- Git commit fb7f8557cc14a190f0ef5f8dd0c166b224446cc3 by Han Young. Committed on 18/06/2024 at 05:33. Pushed by hanyoung into branch 'Plasma/6.1'. kcm_regionandlang: fix incorrect paper size example for some locales <!-- Thank you for submitting a merge request to make KDE Software better! Use the information from the commit message(s) to fill in the template below. ### Original commit message(s) * kcm_regionandlang: fix incorrect paper size example for some locales kcm_regionandlang: fix incorrect paper size example for some locales We decide paper size with measurement system, QLocale::ImperialUSSystem and QLocale::ImperialSystem are treated as "Letter", the rest "A4". Qt doesn't provide a direct method to determine paper size from locale. However, some locales use metric measurement system but Letter for paper size. Put these locales in a QSet and return 'Letter' for paper size example. (cherry picked from commit c7421fcd8823c595f047fab64c14d075db008b2b) eaf58e75 kcm_regionandlang: fix incorrect paper size example for some locales 75ff8016 Apply 1 suggestion(s) to 1 file(s) 979cd1d8 improve readability Co-authored-by: Han Young <hanyo...@protonmail.com> (For future reference, follow the guidelines at https://cbea.ms/git-commit/#seven-rules) --> ### Reason for the change <!-- If this merge request change is resolving a problem, describe the problem and explain why the approach taken here is the correct way to resolve it. If the merge request adds a new feature or UI change, explain the benefits of the change. --> ### Test plan <!-- Extend any related autotests with new test cases to validate your changes. If none exist, consider adding one if you have the technical skills to do so. Otherwise, at least describe how you tested the change, and how someone reviewing this merge request can test it themselves. No need to mention obvious things like "Apply the changes". --> ### Screenshots or screen recordings <!-- If this merge request introduces a visual change, please add before-and-after screenshots in the following format: | Before | After | | ------ | ----- | | [drag "before" screenshot here] | [drag "after" screenshot here] | --> ### Bugs fixed <!-- If the changes in this merge request fix any Bugzilla tickets, add the following keyword for each one: --> M +28 -1 kcms/region_language/exampleutility.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/fb7f8557cc14a190f0ef5f8dd0c166b224446cc3 -- You are receiving this mail because: You are watching all bug changes.