From 745981f4c5cba4d646fb8788163667b75fb7dea8 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 26 Mar 2020 16:50:52 +0100 Subject: [PATCH] Fix build, pass a QRect instead of its 4 components --- autotests/integration/dont_crash_empty_deco.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/integration/dont_crash_empty_deco.cpp b/autotests/integration/dont_crash_empty_deco.cpp index 6520175af4..273a8489ff 100644 --- a/autotests/integration/dont_crash_empty_deco.cpp +++ b/autotests/integration/dont_crash_empty_deco.cpp @@ -102,7 +102,7 @@ void DontCrashEmptyDecorationTest::testBug361551() QVERIFY(client->isDecorated()); // let's set a stupid geometry - client->setFrameGeometry(0, 0, 0, 0); + client->setFrameGeometry({0, 0, 0, 0}); QCOMPARE(client->frameGeometry(), QRect(0, 0, 0, 0)); // and destroy the window again