diff options
author | Yuhang Zhao <2546789017@qq.com> | 2021-11-02 12:44:34 +0800 |
---|---|---|
committer | Yuhang Zhao <2546789017@qq.com> | 2021-11-02 12:40:26 +0000 |
commit | 3fe89eec61e2c819bb54a5d3dfe4bc29dba49ff3 (patch) | |
tree | 900ba8cef310e647d0cce3bed882e34e088c190b /src/dbus/qdbuscontext.cpp | |
parent | 059c48b908ff36c44dac0f8f0aacd970972ab871 (diff) |
qoperatingsystemversion_win: cache the retrieved version
Make it a static variable to avoid acquiring
the system version multiple times. The system
version won't change at runtime after all.
Pick-to: 6.2
Change-Id: Ic381e5dd7b482fedc9c01242482559ffca9d3f2b
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/dbus/qdbuscontext.cpp')
0 files changed, 0 insertions, 0 deletions