diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2023-07-11 18:54:49 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-07-17 23:05:04 +0200 |
| commit | 61b2a6f5874275e92e37f4270a1817a4c101778d (patch) | |
| tree | 744e5de7ec05f8f2dbaac0699112dc161e1cd176 /src/corelib/kernel/qobject.cpp | |
| parent | fbd259856da5f7775c27ad80c2e913987fd923f8 (diff) | |
QDTP: Fix handling of no-digit numeric fields
A numeric field with no digits is Intermediate, since digits can be
typed into it. The testing for this was complicated by the fact that a
sign might be either a sign in the field or the start of a following
separator.
Break out the testing of separator matching at the start of a view.
This simplifies the existing checks for full separator match and we
can use it in the no-digit numeric field's handling to make the check
more robust (matching the whole separator, rather than only its first
character). It incidentally prepares the way for other changes.
Pick-to: 6.6 6.5
Task-number: QTBUG-114909
Change-Id: I5abfccbcae3cba0979b4723c400de038fe2bf324
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
