diff options
author | Matthias Rauter <matthias.rauter@qt.io> | 2024-03-14 17:43:16 +0100 |
---|---|---|
committer | Matthias Rauter <matthias.rauter@qt.io> | 2024-03-20 16:32:37 +0100 |
commit | cf15ba9b085ac783fd3315f1b103c012947cb7db (patch) | |
tree | cf6e1999f6eb2a33a872432c11f650b56cd6fc20 /src/qml/doc/src | |
parent | f477dba0969c036254de077caf0c51ac1d483178 (diff) |
Adjust locale correctly in tst_spinbox
The test for displayTextChangedSpy.count is flaky and failed
repeatedly in CI because the signal is emitted once more than
expected. The reason was that setting locale changed the displayText
depending on the native locale on the testing platform.
Further down in the test, the validator failed because the locale was
not set correctly on the validator.
This patch sets locale in the correct place and also improves the
testing.
Fixes: QTBUG-114694
Pick-to: 6.7 6.6
Change-Id: Ied4b41fbee5e25fabceabda6815272c44aa1f832
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/qml/doc/src')
0 files changed, 0 insertions, 0 deletions