When isValid is true, it must be true; when isValidis false, whether the conditional judgment is true ornot 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 thereadability of the code. Change-Id: I0231b83e0b50586dff2820b8d0dfc35edec36f70 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 03c547f1010868a0ef2f236c6980094efab7e12f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> |
||
|---|---|---|
| .. | ||
| qdbusabstractadaptor | ||
| qdbusabstractinterface | ||
| qdbusconnection | ||
| qdbusconnection_delayed | ||
| qdbusconnection_no_app | ||
| qdbusconnection_no_bus | ||
| qdbusconnection_no_libdbus | ||
| qdbusconnection_signalorder | ||
| qdbusconnection_spyhook | ||
| qdbuscontext | ||
| qdbusinterface | ||
| qdbuslocalcalls | ||
| qdbusmarshall | ||
| qdbusmetaobject | ||
| qdbusmetatype | ||
| qdbuspendingcall | ||
| qdbuspendingreply | ||
| qdbusreply | ||
| qdbusservicewatcher | ||
| qdbusthreading | ||
| qdbustype | ||
| qdbusxmlparser | ||
| CMakeLists.txt | ||