summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qrandom.cpp
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2021-11-15 17:11:13 +0800
committerMarc Mutz <marc.mutz@qt.io>2021-11-23 09:59:55 +0000
commit1e9f9a4b7d1efa7efd5d501754f2de000a507cc5 (patch)
treef9fcafb97291f1f4d627bbd37903f5d06352377b /src/corelib/global/qrandom.cpp
parent3fcdb6cb6e35a37f9b511ec2705336102c194d6b (diff)
QOperatingSystemVersion: cache the retrieved version
It won't change during runtime, so make it a static variable to avoid fetching the information repeatedly. Change-Id: I430ceba218f9f3515558736238d1d5a74cf59419 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/global/qrandom.cpp')
0 files changed, 0 insertions, 0 deletions