summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qsystemtrayicon.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-04-25 09:19:35 +0200
committerMarc Mutz <marc.mutz@kdab.com>2017-04-27 04:35:30 +0000
commit940b36850d8b825493615ac6cf1a7c382a76a214 (patch)
treed05fe14a16a3e194a3f31162f1d2c344c63ee58f /src/widgets/util/qsystemtrayicon.cpp
parent629422607f265865cec8a010de4a5c2ffd664603 (diff)
QLocaleData: remove unused bool *overflow arguments
... from bytearrayToDouble() and bytearrayToLongLong() (bytearrayToUnsLongLong() didn't have one). The only user, QIntValidator, always checked them in conjunction with 'ok'. Since 'overflow' was true only if 'ok' was false, too, there's no point in carrying both. We can bring this code back with QParsedNumber, when it will not cost anything anymore. I actually was hoping that the overflow argument would inform the design of QParsedNumber, but it turned out to be unused, leading to this commit instead. Change-Id: I841d0d1cc36c13c5425ac0338323721d90b3b24c Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/util/qsystemtrayicon.cpp')
0 files changed, 0 insertions, 0 deletions