qt6-bb10/src/corelib
Edward Welbourne 410b5bc238 Add MINS_PER_HOUR constant and avoid a Coverity overflow warning
Being able to distinguish which 60 is minutes-per-hour and which is
seconds-per-minute has some value in its own right, and doing it with
qint64 values (as usual for DateTimeConstants) takes care of two
Coverity warnings about multiplying before widening.

Use the new constant, and SECS_PER_MIN, in a few other places where
the result isn't an int (we don't want to provoke narrowing warnings).

Change-Id: Iadcb6956ac22a53029bf7b7518369520d2b1fd8b
Coverity-Id: CID 393112
Coverity-Id: CID 393113
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-06-03 06:35:20 +02:00
..
animation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
compat Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
doc Android: Extend make_apk target with the sign option 2022-05-30 16:27:38 +02:00
global Endian: Allow special bitfield union fields to cover the whole storage 2022-06-02 14:02:44 +02:00
io QTemporaryFile: document rename() differences from QFile 2022-06-01 19:20:45 -07:00
itemmodels QAbstractItemModel: Fix Qt::TextAlignmentRole when metatype is uint 2022-05-22 09:50:15 +00:00
kernel wasm: add support for blocking sockets 2022-06-02 23:54:46 +02:00
mimetypes Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
platform wasm: export a few symbols 2022-06-01 19:18:40 +10:00
plugin Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
serialization Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
text Convert Since ... comments on \value lines to [since ...] parameters 2022-05-31 14:09:28 +02:00
thread Optimize QThreadPrivate::addObjectWithPendingBindingStatusChange() 2022-05-26 16:43:11 +00:00
time Add MINS_PER_HOUR constant and avoid a Coverity overflow warning 2022-06-03 06:35:20 +02:00
tools Long live QAtomicScopedValueRollback (private API)! 2022-05-31 19:25:52 +02:00
CMakeLists.txt Short live qxp::function_ref! 2022-06-02 12:54:55 +02:00
Qt6AndroidMacros.cmake Android: Extend make_apk target with the sign option 2022-05-30 16:27:38 +02:00
Qt6CTestMacros.cmake CMake: Pass -v to ninja when using ctest --build-and-test 2022-04-04 15:41:20 +02:00
Qt6CoreConfigExtras.cmake.in Add the _qt_internal_android_executable_finalizer wrapper function 2022-03-02 10:23:54 +01:00
Qt6CoreConfigureFileTemplate.in
Qt6CoreDeploySupport.cmake CMake: Clean up qt_deploy_runtime_dependencies for 6.3 2022-02-28 23:08:20 +01:00
Qt6CoreMacros.cmake CMake: Change QT_RESOURCE_TARGET_DEPENDENCY property to be internal 2022-06-02 05:37:40 +02:00
Qt6WasmMacros.cmake wasm: remove compiler and linker warnings 2022-03-17 15:56:19 +10:00
QtCore.dynlist Remove old pre-6.0 hooks 2021-10-22 19:12:07 -07:00
configure.cmake Logging: add support for decoding backtraces using dladdr() 2022-03-03 19:05:11 -08:00
debug_script.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qt_cmdline.cmake
qtcore.tracepoints