diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-12-23 10:35:52 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-01-21 19:56:06 +0000 |
commit | ca1584428b438cb65d5b2aaaca624e9e17578ebd (patch) | |
tree | 8f28baf79c54bedf47dd5196dc9cce695edaea24 /src/qtmultimediaquicktools/qsgvideonode_texture.cpp | |
parent | 1175c3b5405015a27bc28d836e96582f02d3ce00 (diff) |
Coding style cleanups
Do some coding style fixes proposed by clang-tidy.
Change-Id: I62584767fd7af2f98ac02653c1105d64188f5554
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'src/qtmultimediaquicktools/qsgvideonode_texture.cpp')
-rw-r--r-- | src/qtmultimediaquicktools/qsgvideonode_texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qtmultimediaquicktools/qsgvideonode_texture.cpp b/src/qtmultimediaquicktools/qsgvideonode_texture.cpp index 5c76aec45..1b09eed98 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_texture.cpp +++ b/src/qtmultimediaquicktools/qsgvideonode_texture.cpp @@ -141,7 +141,7 @@ public: } void updateBlending() { - setFlag(Blending, qFuzzyCompare(m_opacity, float(1.0)) ? false : true); + setFlag(Blending, !qFuzzyCompare(m_opacity, float(1.0))); } void setVideoFrame(const QVideoFrame &frame) { |