Commit 8b581f58 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Qt Designer: Fix clang-tidy warnings about if / return statements


- Simplify/streamline if statmenents (comparison against bool literal)
- Change else if to if after return/break/continue
- Fix indentation
- Do not check for non-null before invoking delete on pointer

Change-Id: I1b803b01cffd56b3f11e63c3e2e7ae103b1d8799
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@qt.io>
parent 2ea853ba
Showing with 128 additions and 143 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment