summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qtimer.cpp
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-04-24 21:16:33 +0200
committerAhmad Samir <a.samirh78@gmail.com>2023-07-22 22:29:30 +0200
commit6bb61f7e89e1b81e6fb1d93fa67a12d4541c664f (patch)
tree92ff15ac057579ea0acd024dd1fcec45b465f605 /src/corelib/kernel/qtimer.cpp
parent9d4cd4a63e073a4662ebb189e4d3a0fe6225fb49 (diff)
QValidator: de-duplicate some code
QDoubleValidator didn't return Intermediate if the buffer only had one character, - or +, but it makes sense to check that there too. In a later commit that check will be moved to QLocaleData::validateChars (which will return "Intermediate" if the last character in the result buffer is -/+, in this case it's the last and only character in the buffer). Change-Id: I2f9f5b92880b7e9cc1a3ab36b5ec322f57291ee9 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions