Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tidy: Explicitly convert boolean<->int when r/w QDomElement attributes.
The clang-tidy "implicit boolean conversion" check pointed out a couple of places where booleans were being implicitly converted to integers when setting attributes on a QDomElement, or implicitly being converted to boolean when reading attributes from a QDomELement. Be explicit about these conversion. https://clang.llvm.org/extra/clang-tidy/checks/readability-implicit-bool-conversion.html
- Loading branch information
1 parent
a3ffc24
commit 342fab6
Showing
5 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters