Commit c2c2e5af authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

dumpcpp: Fix Clang warnings


- Use const ref to avoid copies of variables
- Use range-based
- Streamline code a bit; loop over maps directly
  instead of key lists
- Avoid repetitive calls to toLatin1()
- Signedness issue converting QVariant::Type

Change-Id: I04ec73548f0a56edea8e3c0e8ee76c23a65aa07b
Reviewed-by: default avatarOliver Wolff <oliver.wolff@qt.io>
 
parent 431c3696
Branches
Tags
No related merge requests found
Showing with 31 additions and 34 deletions
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