diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-24 09:35:10 +0900 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-25 12:43:36 +0000 |
commit | 53eea832310b4135ec575dfc7d462958f4f9e5b7 (patch) | |
tree | 52be2bd4f50a4645fa49b7bde579cb57dacaccc8 /examples | |
parent | c9604a04bf4e560ae51d42d0f6ca105c223c867e (diff) | |
download | qbs-53eea832310b4135ec575dfc7d462958f4f9e5b7.tar.gz |
Apply 'modernize-return-braced-init-list' fix-it
Change-Id: Idbf3ad63c2f8cda295ea40f529a07129c2d979e7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/collidingmice/mouse.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/collidingmice/mouse.cpp b/examples/collidingmice/mouse.cpp index 8dbe28c49..092054046 100644 --- a/examples/collidingmice/mouse.cpp +++ b/examples/collidingmice/mouse.cpp @@ -81,8 +81,7 @@ Mouse::Mouse() QRectF Mouse::boundingRect() const { qreal adjust = 0.5; - return QRectF(-18 - adjust, -22 - adjust, - 36 + adjust, 60 + adjust); + return {-18 - adjust, -22 - adjust, 36 + adjust, 60 + adjust}; } //! [1] |