summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcommandlineparser.cpp
diff options
context:
space:
mode:
authorTian Shilin <tianshilin@uniontech.com>2024-08-22 14:20:01 +0800
committerTian Shilin <tianshilin@uniontech.com>2024-08-23 03:25:01 +0800
commit792373595d9d9d45f5c43e6a9e3f90c1b7ad54d8 (patch)
tree57fbcabca854b591adabaceab044d0f1d82db867 /src/corelib/tools/qcommandlineparser.cpp
parent982314aace15109857784b0b6c3b49cc6e13b9b7 (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