From 53eea832310b4135ec575dfc7d462958f4f9e5b7 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Sun, 24 Nov 2019 09:35:10 +0900 Subject: Apply 'modernize-return-braced-init-list' fix-it Change-Id: Idbf3ad63c2f8cda295ea40f529a07129c2d979e7 Reviewed-by: Christian Kandeler --- examples/collidingmice/mouse.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples') 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] -- cgit v1.2.3