diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-09-17 11:46:04 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-09-18 07:47:49 +0200 |
commit | 84a5969daf095190af1ea3c3174b31c053fcbd59 (patch) | |
tree | bd60bfb825765286598d2b011aaf5b17d1c1ef04 /LICENSE.GPL3 | |
parent | 628b6ca43e2880f37ea208ff77d6a922dba9e283 (diff) |
PathView: fix warnings, oddities and whitespace
- avoid runtime conversion of float->double when initializing a qreal
- use qFuzzyCompare/qFuzzyIsNull to avoid direct comparison of
qreal values
- don't test a float value as a bool by implicit casting(!)
to check whether it's zero
- avoid implicit casts and old-style casts
- fix whitespace around comments
Change-Id: I7b0e77d38d5c86aa1a71833738deb5f0f893b507
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'LICENSE.GPL3')
0 files changed, 0 insertions, 0 deletions