diff options
| author | Tian Shilin <tianshilin@uniontech.com> | 2024-08-22 14:59:28 +0800 |
|---|---|---|
| committer | Tian Shilin <tianshilin@uniontech.com> | 2024-08-28 08:28:23 +0800 |
| commit | 3819ad4ea42b707e7b786b3a8b942d1214533ba6 (patch) | |
| tree | b0a322a94dfbc01fe099bdb072e89abddc76a941 /src/opengl/qopengldebug.cpp | |
| parent | cc128d802c6d9c87a1e00a8a88d5e6590a7195f4 (diff) | |
fix: Redundant condition in tst_qdbustype
When isValid is true, it must be true; when isValid
is false, whether the conditional judgment is true or
not only depends on whether !result is true
(eg: A | | (!A && B) is equivalent to A | | B.),
so you can optimize the judgment condition to improve the
readability of the code.
Pick-to: 6.8
Change-Id: Iab621d3d2948d249f6d8a2425bca3f5404c2e1a1
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/opengl/qopengldebug.cpp')
0 files changed, 0 insertions, 0 deletions
