Merge lp:~aacid/gsettings-qt/use_qchar_upper_lower into lp:gsettings-qt
Proposed by
Albert Astals Cid
on 2016-03-21
| Status: | Merged |
|---|---|
| Approved by: | Nick Dedekind on 2016-03-21 |
| Approved revision: | 81 |
| Merged at revision: | 80 |
| Proposed branch: | lp:~aacid/gsettings-qt/use_qchar_upper_lower |
| Merge into: | lp:gsettings-qt |
| Diff against target: |
25 lines (+4/-3) 1 file modified
src/util.cpp (+4/-3) |
| To merge this branch: | bzr merge lp:~aacid/gsettings-qt/use_qchar_upper_lower |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Nick Dedekind (community) | Approve on 2016-03-21 | ||
| Michael Zanetti (community) | Approve on 2016-03-21 | ||
| Ubuntu Touch System Settings | 2016-03-21 | Pending | |
|
Review via email:
|
|||
Commit Message
Use QChar toUpper/toLower instead of C version
C version works according to the locale that is not what we want in here
since in some locales there's not capital versions for some of the latin1
characters (i.e. Turkish will return i for toupper('i')) so when we try to
go back to the dashed version it will fail
To post a comment you must log in.
review:
Needs Fixing
lp:~aacid/gsettings-qt/use_qchar_upper_lower
updated
on 2016-03-21
- 81. By Albert Astals Cid on 2016-03-21
-
Use also the qchar isUpper for completeness

lgtm