diff options
| author | Tian Shilin <tianshilin@uniontech.com> | 2024-08-22 14:20:01 +0800 |
|---|---|---|
| committer | Tian Shilin <tianshilin@uniontech.com> | 2024-08-23 03:25:01 +0800 |
| commit | 792373595d9d9d45f5c43e6a9e3f90c1b7ad54d8 (patch) | |
| tree | 57fbcabca854b591adabaceab044d0f1d82db867 /src/corelib/tools/qcommandlineparser.cpp | |
| parent | 982314aace15109857784b0b6c3b49cc6e13b9b7 (diff) | |
fix: Redundant condition in qplaintextedit
The redundancy in the conditional judgment exists
because QApplicationPrivate::keypadNavigationEnabled()
appears in both conditional branches. Specifically, the
conditional expression can be simplified because
!A || (A && B) is equivalent to !A || B.
Pick-to: 6.8
Change-Id: I071e349ea4f67a03f89136e2156eb5918a65214f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions
